Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.28/1.28, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.000916/0.000916, allocations: 180.7 kB / 326.5 MB, free: 2.695 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.449/1.449, allocations: 205 MB / 0.5766 GB, free: 21 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.0007039/0.000704, allocations: 93.23 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.000379, allocations: 8.594 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1818, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.002633/0.1845, allocations: 2.682 MB / 0.8994 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1861, allocations: 1.158 MB / 0.9005 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.1863, allocations: 11.94 kB / 0.9005 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.1865, allocations: 59.45 kB / 0.9006 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.1867, allocations: 63.56 kB / 0.9006 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.1873, allocations: 313.3 kB / 0.9009 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.1877, allocations: 0.6481 MB / 0.9016 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003832/0.1881, allocations: 399.7 kB / 0.9019 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.1882, allocations: 179.1 kB / 0.9021 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1884, allocations: 190.8 kB / 0.9023 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.142e-05/0.1884, allocations: 20 kB / 0.9023 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.399e-05/0.1885, allocations: 23.98 kB / 0.9023 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.909e-05/0.1886, allocations: 83.56 kB / 0.9024 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.1887, allocations: 210.6 kB / 0.9026 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.1891, allocations: 0.6499 MB / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1891, allocations: 0 / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1891, allocations: 0 / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.1891, allocations: 0 / 0.9033 GB, free: 61.52 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001169/0.1903, allocations: 0.7924 MB / 0.904 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1903, allocations: 12.03 kB / 0.904 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.026e-05/0.1904, allocations: 56.28 kB / 0.9041 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/0.1909, allocations: 432.6 kB / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.813e-05/0.1909, allocations: 49.3 kB / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.808e-05/0.191, allocations: 48.38 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007961/0.1918, allocations: 0.5433 MB / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1918, allocations: 0 / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.1919, allocations: 23.98 kB / 0.9051 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1919, allocations: 12 kB / 0.9052 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008096/0.1927, allocations: 427.6 kB / 0.9056 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.1943, allocations: 1.86 MB / 0.9074 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007609/0.195, allocations: 354.9 kB / 0.9077 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.1954, allocations: 188.8 kB / 0.9079 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.1954, allocations: 3.938 kB / 0.9079 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004501/0.1959, allocations: 225.5 kB / 0.9081 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=34): time 1.843e-06/0.1959, allocations: 0 / 0.9081 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.001015/0.1969, allocations: 0.5092 MB / 0.9086 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.1969, allocations: 55.41 kB / 0.9087 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.1973, allocations: 405.4 kB / 0.9091 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.1973, allocations: 45.69 kB / 0.9091 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.1974, allocations: 248.2 kB / 0.9093 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.361e-05/0.1975, allocations: 94.66 kB / 0.9094 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.1975, allocations: 73.67 kB / 0.9095 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.397e-05/0.1976, allocations: 354.8 kB / 0.9098 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.198, allocations: 161 kB / 0.91 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003648/0.1983, allocations: 277.9 kB / 0.9103 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006393/0.199, allocations: 423.4 kB / 0.9107 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.199, allocations: 0 / 0.9107 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008444/0.1998, allocations: 0.5418 MB / 0.9112 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.1999, allocations: 33.7 kB / 0.9112 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1999, allocations: 384 / 0.9112 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1999, allocations: 15.98 kB / 0.9112 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.2002, allocations: 79.83 kB / 0.9113 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2002, allocations: 4 kB / 0.9113 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.2005, allocations: 91.33 kB / 0.9114 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.2006, allocations: 20 kB / 0.9114 GB, free: 52.75 MB / 0.6042 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.000203/0.2008, allocations: 213.6 kB / 0.9116 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.2008, allocations: 43.47 kB / 0.9117 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007824/0.2016, allocations: 413.5 kB / 0.9121 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.2016, allocations: 3.984 kB / 0.9121 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.2016, allocations: 0 / 0.9121 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.2017, allocations: 148.5 kB / 0.9122 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.2018, allocations: 7.984 kB / 0.9122 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.2021, allocations: 51.95 kB / 0.9123 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.963e-05/0.2022, allocations: 35.95 kB / 0.9123 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008975/0.2031, allocations: 0.489 MB / 0.9128 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00103/0.2041, allocations: 0.7401 MB / 0.9135 GB, free: 50.56 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003187/0.2044, allocations: 180 kB / 0.9137 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001944/0.2046, allocations: 263.2 kB / 0.9139 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of Backend: time 4.2e-07/0.2046, allocations: 0 / 0.9139 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008069/0.2055, allocations: 405.9 kB / 0.9143 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001141/0.2066, allocations: 1.312 MB / 0.9156 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.00735/0.214, allocations: 5.031 MB / 0.9205 GB, free: 43.36 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)