Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.472/1.472, allocations: 252 MB / 267 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 182.6 kB / 326.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.4 MB / 0.5777 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007407/0.0007407, allocations: 97.55 kB / 0.6823 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 6.656 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2069, allocations: 106.3 MB / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003472/0.2105, allocations: 3.632 MB / 0.9039 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.2121, allocations: 1.358 MB / 0.9052 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002945/0.2125, allocations: 19.94 kB / 0.9052 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.2127, allocations: 103 kB / 0.9053 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.2129, allocations: 91.23 kB / 0.9054 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004093/0.2133, allocations: 219.6 kB / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005685/0.2139, allocations: 0.9395 MB / 0.9065 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004485/0.2143, allocations: 371 kB / 0.9069 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.2145, allocations: 226.7 kB / 0.9071 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.2148, allocations: 286.2 kB / 0.9074 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.114e-05/0.2148, allocations: 24 kB / 0.9074 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.673e-05/0.2149, allocations: 27.94 kB / 0.9074 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.215, allocations: 107.4 kB / 0.9075 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.2151, allocations: 165.2 kB / 0.9077 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005654/0.2157, allocations: 1.025 MB / 0.9087 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2157, allocations: 7.938 kB / 0.9087 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2157, allocations: 0 / 0.9087 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.2157, allocations: 0 / 0.9087 GB, free: 55.72 MB / 0.6042 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.001885/0.2176, allocations: 1.188 MB / 0.9098 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2176, allocations: 12.03 kB / 0.9098 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.2177, allocations: 118.5 kB / 0.91 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.2179, allocations: 102.7 kB / 0.9101 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.2185, allocations: 0.5629 MB / 0.9106 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.2185, allocations: 54 kB / 0.9107 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.249e-05/0.2186, allocations: 80 kB / 0.9107 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.22, allocations: 0.8824 MB / 0.9116 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.22, allocations: 3.984 kB / 0.9116 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.419e-05/0.2201, allocations: 28 kB / 0.9116 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.2201, allocations: 23.94 kB / 0.9116 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.2218, allocations: 0.7768 MB / 0.9124 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002883/0.2247, allocations: 3.068 MB / 0.9154 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.2266, allocations: 0.8403 MB / 0.9162 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007376/0.2273, allocations: 382 kB / 0.9166 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.2274, allocations: 12.42 kB / 0.9166 GB, free: 47.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008518/0.2282, allocations: 406.2 kB / 0.917 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=51): time 2.324e-06/0.2282, allocations: 4.109 kB / 0.917 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=51): time 0.002226/0.2305, allocations: 0.9783 MB / 0.9179 GB, free: 45.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.2305, allocations: 133 kB / 0.9181 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005846/0.2311, allocations: 0.6566 MB / 0.9187 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.2312, allocations: 41.7 kB / 0.9188 GB, free: 45.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.2313, allocations: 384.1 kB / 0.9191 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.333e-05/0.2314, allocations: 169.5 kB / 0.9193 GB, free: 44.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.2315, allocations: 16 kB / 0.9193 GB, free: 44.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.473e-05/0.2316, allocations: 382.7 kB / 0.9197 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007293/0.2323, allocations: 313 kB / 0.92 GB, free: 43.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007778/0.2331, allocations: 446.5 kB / 0.9204 GB, free: 43.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007537/0.2339, allocations: 381.5 kB / 0.9207 GB, free: 42.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2339, allocations: 0 / 0.9207 GB, free: 42.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001659/0.2355, allocations: 0.8996 MB / 0.9216 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.214e-05/0.2356, allocations: 187.9 kB / 0.9218 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2356, allocations: 0 / 0.9218 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2356, allocations: 4 kB / 0.9218 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000588/0.2362, allocations: 167.8 kB / 0.922 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.2363, allocations: 7.953 kB / 0.922 GB, free: 41.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005443/0.2368, allocations: 147.3 kB / 0.9221 GB, free: 41.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.2369, allocations: 23.98 kB / 0.9221 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.072e-06/0.2369, allocations: 6.656 kB / 0.9221 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001268/0.2381, allocations: 0.688 MB / 0.9228 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.2382, allocations: 8.094 kB / 0.9228 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.569e-06/0.2382, allocations: 4 kB / 0.9228 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004728/0.2386, allocations: 127.9 kB / 0.923 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.2387, allocations: 11.92 kB / 0.923 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00044/0.2391, allocations: 123.3 kB / 0.9231 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.2391, allocations: 20 kB / 0.9231 GB, free: 40.47 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($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,conMix.conFloRat.I.trigger_internal,conMix.conCoo.I.trigger_internal,conMix.conHea.I.trigger_internal) * 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.0002477/0.2394, allocations: 316.9 kB / 0.9234 GB, free: 40.15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.172e-05/0.2395, allocations: 71.06 kB / 0.9235 GB, free: 40.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.241, allocations: 0.7339 MB / 0.9242 GB, free: 39.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2411, allocations: 12 kB / 0.9242 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2411, allocations: 0 / 0.9242 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.2411, allocations: 3.984 kB / 0.9242 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000588/0.2417, allocations: 0.7276 MB / 0.9249 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.2417, allocations: 3.953 kB / 0.9249 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005435/0.2422, allocations: 143.8 kB / 0.9251 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2422, allocations: 0 / 0.9251 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.2423, allocations: 15.98 kB / 0.9251 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2423, allocations: 0 / 0.9251 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2423, allocations: 0 / 0.9251 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/0.2445, allocations: 1.112 MB / 0.9262 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/0.2446, allocations: 164 kB / 0.9263 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/0.2447, allocations: 12 kB / 0.9263 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004794/0.2452, allocations: 91.91 kB / 0.9264 GB, free: 36.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.616e-05/0.2453, allocations: 44.38 kB / 0.9265 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.2453, allocations: 19.98 kB / 0.9265 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004174/0.2458, allocations: 463 kB / 0.9269 GB, free: 36.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2458, allocations: 0 / 0.9269 GB, free: 36.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005044/0.2463, allocations: 259.1 kB / 0.9272 GB, free: 36.2 MB / 0.6042 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.002432/0.2487, allocations: 1.669 MB / 0.9288 GB, free: 34.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002178/0.2509, allocations: 1.253 MB / 0.93 GB, free: 33.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2509, allocations: 0 / 0.93 GB, free: 33.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007229/0.2517, allocations: 350.4 kB / 0.9303 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006453/0.2523, allocations: 151 kB / 0.9305 GB, free: 32.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007034/0.2593, allocations: 4.51 MB / 0.9349 GB, free: 28.13 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.2596, allocations: 0.9262 MB / 0.9358 GB, free: 27.18 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000345/0.26, allocations: 89.12 kB / 0.9359 GB, free: 27.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/0.2603, allocations: 283.3 kB / 0.9362 GB, free: 26.81 MB / 0.6042 GB Notification: Performance of SimCode: time 2.8e-07/0.2603, allocations: 0 / 0.9362 GB, free: 26.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.2838, allocations: 14.19 MB / 0.95 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001222/0.284, allocations: 218.5 kB / 0.9502 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.436/2.72, allocations: 0 / 0.9502 GB, free: 12.62 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.fmu > Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)