Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001557, allocations: 107.8 kB / 16.36 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 190.5 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.765/1.765, allocations: 292.3 MB / 0.5496 GB, free: 17.42 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 75.86 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2349, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.004485/0.2394, allocations: 2.937 MB / 0.7877 GB, free: 192 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4472/0.6866, allocations: 1.14 MB / 0.7888 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003286/0.687, allocations: 15.12 kB / 0.7888 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.6874, allocations: 77.02 kB / 0.7889 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.6876, allocations: 83.88 kB / 0.7889 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007932/0.6884, allocations: 348.4 kB / 0.7893 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006256/0.689, allocations: 0.7082 MB / 0.79 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005248/0.6895, allocations: 0.4911 MB / 0.7904 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.6898, allocations: 241 kB / 0.7907 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.69, allocations: 250.6 kB / 0.7909 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.129e-05/0.6901, allocations: 70.28 kB / 0.791 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.6902, allocations: 76.75 kB / 0.791 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.6903, allocations: 138.9 kB / 0.7912 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.6905, allocations: 275.3 kB / 0.7914 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005473/0.691, allocations: 0.7423 MB / 0.7922 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.6911, allocations: 2.625 kB / 0.7922 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6911, allocations: 1.906 kB / 0.7922 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.6911, allocations: 0 / 0.7922 GB, free: 46.26 MB / 0.6544 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.001453/0.6925, allocations: 0.8742 MB / 0.793 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.6926, allocations: 10.5 kB / 0.793 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.6927, allocations: 63.73 kB / 0.7931 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006172/0.6933, allocations: 445.7 kB / 0.7935 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.6934, allocations: 37.78 kB / 0.7936 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.69e-05/0.6934, allocations: 47.28 kB / 0.7936 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008857/0.6943, allocations: 0.5311 MB / 0.7941 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.6944, allocations: 5.219 kB / 0.7941 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.251e-05/0.6944, allocations: 20.59 kB / 0.7941 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.6944, allocations: 11.42 kB / 0.7942 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008591/0.6953, allocations: 404.8 kB / 0.7945 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.697, allocations: 1.836 MB / 0.7963 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008391/0.6979, allocations: 350.4 kB / 0.7967 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.6983, allocations: 163.9 kB / 0.7968 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.6983, allocations: 14.42 kB / 0.7968 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004749/0.6988, allocations: 213.4 kB / 0.797 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=34): time 2.184e-06/0.6988, allocations: 0 / 0.797 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34): time 0.001168/0.7, allocations: 471.3 kB / 0.7975 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.7, allocations: 63.67 kB / 0.7976 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003759/0.7004, allocations: 404.1 kB / 0.7979 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.7005, allocations: 39.39 kB / 0.798 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.7006, allocations: 259.2 kB / 0.7982 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.7007, allocations: 95.44 kB / 0.7983 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.7008, allocations: 108 kB / 0.7984 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.716e-05/0.7009, allocations: 358.5 kB / 0.7988 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/0.7013, allocations: 146.5 kB / 0.7989 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004495/0.7018, allocations: 271.8 kB / 0.7992 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007665/0.7026, allocations: 402.5 kB / 0.7995 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.7026, allocations: 4 kB / 0.7995 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009936/0.7036, allocations: 0.5143 MB / 0.8001 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.7036, allocations: 34.42 kB / 0.8001 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.7036, allocations: 4.625 kB / 0.8001 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/0.7037, allocations: 3.719 kB / 0.8001 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.704, allocations: 74.12 kB / 0.8002 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.704, allocations: 8.312 kB / 0.8002 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.7044, allocations: 77.28 kB / 0.8002 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.623e-05/0.7045, allocations: 23.59 kB / 0.8003 GB, free: 41.87 MB / 0.6544 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,preHeatCoil.toOff.t_start,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.fire,preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.active,preHeatCoil.pumOn.oldActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.toOn.enableFire,preHeatCoil.pumOff.oldActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.active,preHeatCoil.preHeaOn.y,$PRE.preHeatCoil.preHeaOn.y,TMix.count,$PRE.TMix.count,TMix.T_start,$PRE.TMix.T_start,$whenCondition1,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002057/0.7047, allocations: 201.6 kB / 0.8005 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/0.7047, allocations: 41.5 kB / 0.8005 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009273/0.7057, allocations: 392.5 kB / 0.8009 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.7057, allocations: 1.406 kB / 0.8009 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7057, allocations: 0 / 0.8009 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.7058, allocations: 149.2 kB / 0.801 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/0.7059, allocations: 10.75 kB / 0.801 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.7062, allocations: 38.92 kB / 0.8011 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.7063, allocations: 41.45 kB / 0.8011 GB, free: 41.37 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00111/0.7074, allocations: 458.4 kB / 0.8015 GB, free: 41.17 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001315/0.7087, allocations: 0.7037 MB / 0.8022 GB, free: 40.78 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004037/0.7092, allocations: 165.6 kB / 0.8024 GB, free: 40.72 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002779/0.7094, allocations: 269.1 kB / 0.8026 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of Backend: time 6.31e-07/0.7095, allocations: 0 / 0.8026 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.7105, allocations: 389.6 kB / 0.803 GB, free: 40.39 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001465/0.712, allocations: 1.162 MB / 0.8041 GB, free: 39.51 MB / 0.6544 GB Notification: Performance of Templates: time 0.0135/0.7255, allocations: 5.565 MB / 0.8096 GB, free: 39.29 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)