Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.745/4.745, allocations: 0.5623 GB / 0.5776 GB, free: 3.336 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002535/0.002535, allocations: 351.7 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.329/4.329, allocations: 410.7 MB / 1.113 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0019/0.0019, allocations: 186.9 kB / 1.226 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004867, allocations: 12 kB / 1.349 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7751/0.7756, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.004459/0.7801, allocations: 3.274 MB / 1.465 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003018/0.7832, allocations: 1.236 MB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008698/0.7841, allocations: 15.94 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.7843, allocations: 60.45 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0009155/0.7853, allocations: 127.1 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009439/0.7862, allocations: 210.3 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.7879, allocations: 0.9004 MB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009308/0.7888, allocations: 371.4 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000426/0.7893, allocations: 226.7 kB / 1.468 GB, free: 278 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004284/0.7897, allocations: 282.8 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.7899, allocations: 26.59 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.75e-05/0.79, allocations: 24 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.7902, allocations: 115.4 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.7904, allocations: 157.3 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.7918, allocations: 1.023 MB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.7918, allocations: 0 / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.565e-06/0.7918, allocations: 1.438 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.7918, allocations: 0 / 1.469 GB, free: 276.4 MB / 0.8542 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.004192/0.796, allocations: 1.163 MB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.7961, allocations: 15.61 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003301/0.7965, allocations: 95.53 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.7979, allocations: 0.5675 MB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.291e-05/0.798, allocations: 54 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/0.7982, allocations: 72.5 kB / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003641/0.8019, allocations: 0.8515 MB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.202e-05/0.802, allocations: 4 kB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.8022, allocations: 24 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.8022, allocations: 20 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004373/0.8066, allocations: 0.7563 MB / 1.473 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006577/0.8132, allocations: 2.513 MB / 1.475 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004349/0.8176, allocations: 0.8123 MB / 1.476 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002046/0.8197, allocations: 391 kB / 1.476 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.737e-05/0.8198, allocations: 13.58 kB / 1.476 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00212/0.822, allocations: 409.1 kB / 1.477 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=51): time 4.899e-06/0.822, allocations: 0.7188 kB / 1.477 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=51): time 0.005545/0.8276, allocations: 0.9768 MB / 1.478 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.8277, allocations: 141 kB / 1.478 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.8291, allocations: 0.6056 MB / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.8292, allocations: 38.61 kB / 1.478 GB, free: 266.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000401/0.8296, allocations: 376.1 kB / 1.479 GB, free: 266.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.8299, allocations: 174.5 kB / 1.479 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.487e-05/0.83, allocations: 8 kB / 1.479 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.8302, allocations: 388.7 kB / 1.479 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001849/0.832, allocations: 307.5 kB / 1.48 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002047/0.8341, allocations: 448.1 kB / 1.48 GB, free: 265 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/0.8361, allocations: 388.6 kB / 1.48 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.8361, allocations: 4 kB / 1.48 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00432/0.8404, allocations: 0.8891 MB / 1.481 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001399/0.8406, allocations: 215.7 kB / 1.482 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.8407, allocations: 4 kB / 1.482 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.8407, allocations: 4 kB / 1.482 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.8422, allocations: 167.4 kB / 1.482 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.8423, allocations: 4 kB / 1.482 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.8437, allocations: 150.7 kB / 1.482 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.852e-05/0.8439, allocations: 27.98 kB / 1.482 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.8439, allocations: 7.594 kB / 1.482 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0032/0.8471, allocations: 0.696 MB / 1.483 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.8472, allocations: 1.125 kB / 1.483 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.8472, allocations: 8 kB / 1.483 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.8485, allocations: 138.4 kB / 1.483 GB, free: 262.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.8485, allocations: 4 kB / 1.483 GB, free: 262.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.8498, allocations: 123 kB / 1.483 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.861e-05/0.8499, allocations: 16.78 kB / 1.483 GB, free: 262.2 MB / 0.8542 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.0006932/0.8506, allocations: 305.9 kB / 1.483 GB, free: 261.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.8508, allocations: 75.05 kB / 1.483 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003859/0.8547, allocations: 0.7326 MB / 1.484 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/0.8547, allocations: 4.781 kB / 1.484 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/0.8548, allocations: 5.875 kB / 1.484 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002587/0.855, allocations: 152.1 kB / 1.484 GB, free: 260.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.8552, allocations: 15.98 kB / 1.484 GB, free: 260.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.8564, allocations: 87.89 kB / 1.484 GB, free: 260.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/0.8566, allocations: 49.52 kB / 1.484 GB, free: 260.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004752/0.8614, allocations: 0.8566 MB / 1.485 GB, free: 259.9 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005612/0.8671, allocations: 1.265 MB / 1.486 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001375/0.8685, allocations: 340.1 kB / 1.487 GB, free: 258.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007142/0.8692, allocations: 442.9 kB / 1.487 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of Backend: time 4.91e-07/0.8692, allocations: 0 / 1.487 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003414/0.8727, allocations: 1.05 MB / 1.488 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of SimCode: time 0.003051/0.8758, allocations: 1.814 MB / 1.49 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.02497/0.9008, allocations: 9.322 MB / 1.499 GB, free: 245.8 MB / 0.8542 GB