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.946/4.946, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 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.002397/0.002396, allocations: 357.8 kB / 0.644 GB, free: 185.6 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.379/4.379, allocations: 410.7 MB / 1.112 GB, free: 5.91 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.001787/0.001787, allocations: 178.8 kB / 1.225 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005079/0.0005082, allocations: 16 kB / 1.348 GB, free: 8.211 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6086/0.6091, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003574/0.6127, allocations: 3.282 MB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002248/0.615, allocations: 1.228 MB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005475/0.6156, allocations: 17.25 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.6158, allocations: 59.3 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000553/0.6163, allocations: 123.7 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005148/0.6168, allocations: 211.8 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008214/0.6177, allocations: 0.8965 MB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005557/0.6183, allocations: 378.2 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.6185, allocations: 226.7 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.6188, allocations: 283.9 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.023e-05/0.6189, allocations: 24 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.604e-05/0.6189, allocations: 27.94 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.984e-05/0.619, allocations: 108.4 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.6192, allocations: 161.3 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007797/0.62, allocations: 1.021 MB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.847e-06/0.62, allocations: 0 / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.059e-06/0.62, allocations: 3.938 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.62, allocations: 0 / 1.469 GB, free: 276.3 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.002279/0.6223, allocations: 1.172 MB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.6224, allocations: 11.62 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.6225, allocations: 95.62 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008398/0.6234, allocations: 0.5629 MB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.636e-05/0.6235, allocations: 58.5 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.6236, allocations: 75.09 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.6255, allocations: 0.8507 MB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.6256, allocations: 0 / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.539e-05/0.6257, allocations: 28 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.6257, allocations: 20 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.6279, allocations: 0.7559 MB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004076/0.632, allocations: 2.517 MB / 1.475 GB, free: 270 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.6343, allocations: 0.8069 MB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.6354, allocations: 391.4 kB / 1.476 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.495e-05/0.6354, allocations: 4.438 kB / 1.476 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001163/0.6366, allocations: 410.8 kB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=51): time 4.896e-06/0.6367, allocations: 0 / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=51): time 0.002981/0.6396, allocations: 0.9799 MB / 1.477 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.6397, allocations: 137 kB / 1.477 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008599/0.6406, allocations: 0.6105 MB / 1.478 GB, free: 266.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.152e-05/0.6407, allocations: 37.7 kB / 1.478 GB, free: 266.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/0.641, allocations: 386 kB / 1.478 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.6411, allocations: 169.5 kB / 1.478 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.6412, allocations: 8.719 kB / 1.478 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.6413, allocations: 383.4 kB / 1.479 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009577/0.6423, allocations: 310.3 kB / 1.479 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.6433, allocations: 454.3 kB / 1.479 GB, free: 265 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009734/0.6443, allocations: 383.7 kB / 1.48 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.582e-06/0.6443, allocations: 0.875 kB / 1.48 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002322/0.6467, allocations: 0.8918 MB / 1.481 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.6468, allocations: 216.1 kB / 1.481 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.6468, allocations: 4 kB / 1.481 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.6468, allocations: 4 kB / 1.481 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000811/0.6477, allocations: 169.1 kB / 1.481 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.6477, allocations: 4 kB / 1.481 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007599/0.6485, allocations: 155.6 kB / 1.481 GB, free: 263.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/0.6485, allocations: 25.81 kB / 1.481 GB, free: 263.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.6486, allocations: 4 kB / 1.481 GB, free: 263.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001812/0.6504, allocations: 0.6933 MB / 1.482 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.6504, allocations: 4 kB / 1.482 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.485e-06/0.6504, allocations: 5.781 kB / 1.482 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007153/0.6512, allocations: 133 kB / 1.482 GB, free: 262.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.6512, allocations: 4 kB / 1.482 GB, free: 262.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007293/0.6519, allocations: 123.5 kB / 1.482 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.652, allocations: 24 kB / 1.482 GB, free: 262.1 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.000444/0.6525, allocations: 304.4 kB / 1.483 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.6526, allocations: 75.09 kB / 1.483 GB, free: 261.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/0.6547, allocations: 0.7295 MB / 1.483 GB, free: 261 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.6547, allocations: 7.938 kB / 1.483 GB, free: 261 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.39e-06/0.6547, allocations: 3.984 kB / 1.483 GB, free: 261 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.2e-06/0.6548, allocations: 0 / 1.483 GB, free: 261 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008703/0.6556, allocations: 0.7198 MB / 1.484 GB, free: 260.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.924e-06/0.6557, allocations: 5.312 kB / 1.484 GB, free: 260.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008486/0.6565, allocations: 145.5 kB / 1.484 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.998e-06/0.6566, allocations: 4 kB / 1.484 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/0.6566, allocations: 15.98 kB / 1.484 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-06/0.6566, allocations: 4 kB / 1.484 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.422e-06/0.6566, allocations: 0 / 1.484 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003116/0.6598, allocations: 1.103 MB / 1.485 GB, free: 259 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.66, allocations: 156.2 kB / 1.485 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.6601, allocations: 17.02 kB / 1.485 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005778/0.6607, allocations: 89.27 kB / 1.485 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.6609, allocations: 48.36 kB / 1.486 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/0.6609, allocations: 19.98 kB / 1.486 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000629/0.6616, allocations: 427.1 kB / 1.486 GB, free: 258.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.04e-07/0.6616, allocations: 5.062 kB / 1.486 GB, free: 258.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008427/0.6625, allocations: 255 kB / 1.486 GB, free: 258 MB / 0.8542 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.0001399/0.6626, allocations: 121.9 kB / 1.486 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003/0.6656, allocations: 1.249 MB / 1.488 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.028e-06/0.6657, allocations: 0 / 1.488 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009965/0.6667, allocations: 350.4 kB / 1.488 GB, free: 256.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008242/0.6675, allocations: 120.5 kB / 1.488 GB, free: 256.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.6701, allocations: 1.465 MB / 1.489 GB, free: 254.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.6705, allocations: 0.9455 MB / 1.49 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004986/0.671, allocations: 74.05 kB / 1.49 GB, free: 253.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.6712, allocations: 51.42 kB / 1.49 GB, free: 253.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.837e-06/0.6713, allocations: 0 / 1.49 GB, free: 253.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.01684/0.6881, allocations: 6.925 MB / 1.497 GB, free: 246.8 MB / 0.8542 GB