Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.784/4.784, allocations: 0.5623 GB / 0.5776 GB, free: 3.324 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.002498/0.002497, allocations: 358.3 kB / 0.6447 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.278/4.278, allocations: 410.7 MB / 1.113 GB, free: 6 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.001874/0.001873, allocations: 183.8 kB / 1.226 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007355/0.0007357, allocations: 11.98 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7651/0.7659, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.00529/0.7713, allocations: 2.51 MB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003655/0.775, allocations: 1.079 MB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006014/0.7756, allocations: 15.94 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.7759, allocations: 44.23 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006194/0.7765, allocations: 79.52 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.7778, allocations: 244.8 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001218/0.7791, allocations: 0.6092 MB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009637/0.78, allocations: 358.4 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003401/0.7804, allocations: 167.1 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.7808, allocations: 171.7 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.793e-05/0.7809, allocations: 20 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.781, allocations: 34.3 kB / 1.467 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.7812, allocations: 79.61 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.7813, allocations: 109.4 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007941/0.7821, allocations: 0.5398 MB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.7821, allocations: 0 / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.508e-06/0.7822, allocations: 0 / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.7822, allocations: 5.938 kB / 1.467 GB, free: 278.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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002565/0.7848, allocations: 0.7908 MB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.7848, allocations: 8.781 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.7851, allocations: 67.2 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000992/0.7861, allocations: 428.8 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.337e-05/0.7862, allocations: 37 kB / 1.469 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.7863, allocations: 48.94 kB / 1.469 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.7883, allocations: 0.5457 MB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/0.7884, allocations: 1 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-05/0.7885, allocations: 20 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.7885, allocations: 12 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.7904, allocations: 416.8 kB / 1.47 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003909/0.7944, allocations: 1.856 MB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/0.7969, allocations: 361 kB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.7982, allocations: 179.1 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.373e-05/0.7983, allocations: 8.906 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001407/0.7997, allocations: 233.9 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=34): time 5.881e-06/0.7998, allocations: 4 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34): time 0.003534/0.8033, allocations: 0.4919 MB / 1.473 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.8034, allocations: 60.47 kB / 1.473 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008897/0.8043, allocations: 405.4 kB / 1.473 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.8045, allocations: 38.2 kB / 1.473 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.8048, allocations: 256.7 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.8049, allocations: 91.52 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.805, allocations: 12 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.8051, allocations: 347.5 kB / 1.474 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.8062, allocations: 168.2 kB / 1.474 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.8073, allocations: 278.8 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.8084, allocations: 193.7 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.8084, allocations: 7.953 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002546/0.811, allocations: 0.5301 MB / 1.475 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.303e-05/0.8111, allocations: 44.22 kB / 1.475 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.8111, allocations: 4 kB / 1.475 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-05/0.8112, allocations: 4 kB / 1.475 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008882/0.8121, allocations: 83.77 kB / 1.475 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-05/0.8121, allocations: 9.219 kB / 1.475 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009948/0.8131, allocations: 81.55 kB / 1.475 GB, free: 270 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.475e-05/0.8133, allocations: 19.98 kB / 1.475 GB, free: 270 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,preHeatCoil.stateGraphRoot.resume,preHeatCoil.stateGraphRoot.suspend,$whenCondition2,$whenCondition1,$PRE.TMix.T_start,TMix.T_start,$PRE.TMix.count,TMix.count,$PRE.preHeatCoil.preHeaOn.y,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.active,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.oldActive,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.enableFire,preHeatCoil.toOff.fire,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.t_start,preHeatCoil.preHeaCoiCon.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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.0004588/0.8137, allocations: 206.3 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.8139, allocations: 47.39 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.8161, allocations: 410.8 kB / 1.476 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.8162, allocations: 5.484 kB / 1.476 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.8162, allocations: 0 / 1.476 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.8164, allocations: 144.5 kB / 1.476 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-05/0.8165, allocations: 8 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005285/0.8171, allocations: 50.98 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.8172, allocations: 39.94 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001915/0.8192, allocations: 499.6 kB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00218/0.8214, allocations: 0.7388 MB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006729/0.8221, allocations: 177.5 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000395/0.8225, allocations: 267.2 kB / 1.478 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of Backend: time 4.41e-07/0.8226, allocations: 7.938 kB / 1.478 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.8241, allocations: 398.3 kB / 1.478 GB, free: 267 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001952/0.8261, allocations: 1.266 MB / 1.479 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.0151/0.8412, allocations: 4.887 MB / 1.484 GB, free: 261.1 MB / 0.8542 GB