Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.639/1.639, allocations: 288.4 MB / 303.3 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.001009, allocations: 186.9 kB / 372 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.4 MB / 0.6307 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007436/0.0007436, allocations: 101.3 kB / 0.744 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 11.53 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2123, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.00329/0.2156, allocations: 3.272 MB / 0.9828 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002017/0.2177, allocations: 1.244 MB / 0.9841 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005957/0.2183, allocations: 12 kB / 0.9841 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000346/0.2187, allocations: 87.09 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003731/0.219, allocations: 83.3 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.2196, allocations: 203.7 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007644/0.2203, allocations: 0.8849 MB / 0.9853 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004529/0.2208, allocations: 379.6 kB / 0.9856 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.221, allocations: 226.7 kB / 0.9859 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.2213, allocations: 286.2 kB / 0.9861 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.339e-05/0.2213, allocations: 24 kB / 0.9862 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.525e-05/0.2214, allocations: 24 kB / 0.9862 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.725e-05/0.2215, allocations: 107.4 kB / 0.9863 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.197e-05/0.2216, allocations: 161.3 kB / 0.9864 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005522/0.2221, allocations: 1.021 MB / 0.9874 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2221, allocations: 4 kB / 0.9874 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2221, allocations: 0 / 0.9874 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.2221, allocations: 0 / 0.9874 GB, free: 19.55 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.001929/0.2241, allocations: 1.173 MB / 0.9886 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.2241, allocations: 8.031 kB / 0.9886 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/0.2243, allocations: 122.5 kB / 0.9887 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.2244, allocations: 94.88 kB / 0.9888 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005846/0.225, allocations: 0.559 MB / 0.9893 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.225, allocations: 58 kB / 0.9894 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.194e-05/0.2251, allocations: 72 kB / 0.9895 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.2267, allocations: 0.8423 MB / 0.9903 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.2267, allocations: 7.938 kB / 0.9903 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.81e-05/0.2267, allocations: 31.98 kB / 0.9903 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.2268, allocations: 20 kB / 0.9903 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.2285, allocations: 0.7534 MB / 0.9911 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/0.2314, allocations: 2.512 MB / 0.9935 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.2331, allocations: 0.8087 MB / 0.9943 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007718/0.2339, allocations: 382 kB / 0.9947 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.234, allocations: 8.438 kB / 0.9947 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009153/0.2349, allocations: 413.1 kB / 0.9951 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 2.214e-06/0.2349, allocations: 0 / 0.9951 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.002318/0.2372, allocations: 0.9783 MB / 0.996 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.2373, allocations: 144.9 kB / 0.9962 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005823/0.2379, allocations: 0.6057 MB / 0.9968 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.2379, allocations: 37.7 kB / 0.9968 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.2381, allocations: 381.1 kB / 0.9972 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.07e-05/0.2382, allocations: 177.5 kB / 0.9973 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.2383, allocations: 8 kB / 0.9974 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.2384, allocations: 382.7 kB / 0.9977 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007379/0.2391, allocations: 313 kB / 0.998 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000792/0.2399, allocations: 449.1 kB / 0.9984 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007709/0.2407, allocations: 393.4 kB / 0.9988 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.2407, allocations: 4 kB / 0.9988 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001721/0.2424, allocations: 0.8842 MB / 0.9997 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.827e-05/0.2425, allocations: 215.7 kB / 0.9999 GB, free: 6.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2425, allocations: 4 kB / 0.9999 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.2426, allocations: 4 kB / 0.9999 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006315/0.2432, allocations: 163.8 kB / 1 GB, free: 6.184 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.2432, allocations: 7.984 kB / 1 GB, free: 6.176 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005713/0.2438, allocations: 159.1 kB / 1 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.2438, allocations: 20 kB / 1 GB, free: 6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.31e-06/0.2439, allocations: 4 kB / 1 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001316/0.2452, allocations: 0.6959 MB / 1.001 GB, free: 5.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.2452, allocations: 0 / 1.001 GB, free: 5.285 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/0.2452, allocations: 8 kB / 1.001 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004821/0.2457, allocations: 135.8 kB / 1.001 GB, free: 5.145 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.2457, allocations: 4 kB / 1.001 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/0.2462, allocations: 127.3 kB / 1.001 GB, free: 5.016 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.2462, allocations: 16 kB / 1.001 GB, free: 5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 13 (conMix.conFloRat.con1.y,conMix.conCoo.con1.y,conMix.conHea.con1.y,$whenCondition2,$whenCondition1,$PRE.TRoo.T_start,TRoo.T_start,$PRE.TRoo.count,TRoo.count,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000289/0.2465, allocations: 305.5 kB / 1.001 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.218e-05/0.2466, allocations: 75.09 kB / 1.002 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.2482, allocations: 0.7295 MB / 1.002 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.2482, allocations: 4 kB / 1.002 GB, free: 3.871 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2482, allocations: 4 kB / 1.002 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.2483, allocations: 0 / 1.002 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005934/0.2489, allocations: 0.7198 MB / 1.003 GB, free: 3.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2489, allocations: 11.92 kB / 1.003 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005747/0.2494, allocations: 135.8 kB / 1.003 GB, free: 2.953 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.2495, allocations: 7.953 kB / 1.003 GB, free: 2.945 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.2495, allocations: 15.98 kB / 1.003 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2495, allocations: 0 / 1.003 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2495, allocations: 0 / 1.003 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.2517, allocations: 1.108 MB / 1.004 GB, free: 1.805 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.112e-05/0.2518, allocations: 148.2 kB / 1.004 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.056e-05/0.2519, allocations: 15.95 kB / 1.004 GB, free: 1.625 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004634/0.2524, allocations: 91.91 kB / 1.004 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.2525, allocations: 44.38 kB / 1.005 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.2525, allocations: 15.98 kB / 1.005 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004025/0.2529, allocations: 439 kB / 1.005 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.41e-07/0.2529, allocations: 7.938 kB / 1.005 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005807/0.2535, allocations: 266.8 kB / 1.005 GB, free: 0.7773 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (m_flow.count,TRoo.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002626/0.2562, allocations: 1.657 MB / 1.007 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002537/0.2587, allocations: 1.249 MB / 1.008 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2587, allocations: 4 kB / 1.008 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008315/0.2596, allocations: 354.8 kB / 1.008 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006317/0.2602, allocations: 116.6 kB / 1.009 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007736/0.268, allocations: 4.359 MB / 1.013 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.2684, allocations: 0.9299 MB / 1.014 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003553/0.2688, allocations: 77.08 kB / 1.014 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003848/0.2692, allocations: 275.3 kB / 1.014 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of SimCode: time 9.12e-07/0.2692, allocations: 0 / 1.014 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.2948, allocations: 13.19 MB / 1.027 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002964/0.2952, allocations: 214.9 kB / 1.027 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.464/2.759, allocations: 4.062 kB / 1.027 GB, free: 10.38 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.fmu > Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)