Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.563/2.563, allocations: 287.3 MB / 302.3 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002495/0.002495, allocations: 187.4 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.213/2.213, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 90.06 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007956/0.0007956, allocations: 10.86 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2195, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.005105/0.2246, allocations: 2.5 MB / 0.9806 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002833/0.2275, allocations: 1.104 MB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005627/0.2282, allocations: 11.94 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.2284, allocations: 39.59 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005733/0.229, allocations: 95.66 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000993/0.23, allocations: 237.7 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008164/0.2309, allocations: 408.5 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005951/0.2315, allocations: 360.1 kB / 0.9828 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.2318, allocations: 167.3 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.232, allocations: 183 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.326e-05/0.2321, allocations: 20 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.2323, allocations: 20 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.2324, allocations: 87.59 kB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.2325, allocations: 109.5 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000641/0.2331, allocations: 0.5379 MB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.2332, allocations: 0 / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.856e-06/0.2332, allocations: 0 / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.2332, allocations: 3.938 kB / 0.9839 GB, free: 22.47 MB / 0.6198 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.002188/0.2354, allocations: 0.7924 MB / 0.9847 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.2355, allocations: 12.03 kB / 0.9847 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.2356, allocations: 63.2 kB / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008111/0.2364, allocations: 423.6 kB / 0.9851 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/0.2365, allocations: 37 kB / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.2366, allocations: 52 kB / 0.9852 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.2381, allocations: 0.5352 MB / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.2381, allocations: 0 / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.949e-05/0.2382, allocations: 16 kB / 0.9858 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.2383, allocations: 12 kB / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.2398, allocations: 427.6 kB / 0.9862 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00314/0.243, allocations: 1.86 MB / 0.988 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.2446, allocations: 372.9 kB / 0.9884 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/0.2447, allocations: 4 kB / 0.9884 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/0.2458, allocations: 229.4 kB / 0.9886 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 5.08e-06/0.2459, allocations: 0 / 0.9886 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.003071/0.249, allocations: 0.5013 MB / 0.9891 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.2491, allocations: 55.41 kB / 0.9891 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008347/0.2499, allocations: 405.4 kB / 0.9895 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.2501, allocations: 37.7 kB / 0.9895 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.2504, allocations: 260.1 kB / 0.9898 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.2505, allocations: 98.73 kB / 0.9899 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.2506, allocations: 12 kB / 0.9899 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.2507, allocations: 354.8 kB / 0.9902 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.2518, allocations: 157 kB / 0.9904 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.2529, allocations: 277.9 kB / 0.9907 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.254, allocations: 191.5 kB / 0.9908 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.254, allocations: 7.953 kB / 0.9908 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002582/0.2566, allocations: 0.534 MB / 0.9914 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-05/0.2567, allocations: 37.69 kB / 0.9914 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.2568, allocations: 4 kB / 0.9914 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.197e-05/0.2568, allocations: 4 kB / 0.9914 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000834/0.2577, allocations: 84.08 kB / 0.9915 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/0.2577, allocations: 7.984 kB / 0.9915 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009557/0.2587, allocations: 79.41 kB / 0.9916 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.048e-05/0.2588, allocations: 27.98 kB / 0.9916 GB, free: 14.25 MB / 0.6198 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.0004741/0.2593, allocations: 205.7 kB / 0.9918 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.2594, allocations: 43.48 kB / 0.9918 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.2618, allocations: 409.4 kB / 0.9922 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.2618, allocations: 7.984 kB / 0.9922 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.2619, allocations: 8 kB / 0.9922 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.2619, allocations: 0 / 0.9922 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003735/0.2656, allocations: 0.9747 MB / 0.9932 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.2657, allocations: 0 / 0.9932 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007887/0.2665, allocations: 59.98 kB / 0.9933 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.2665, allocations: 0 / 0.9933 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.105e-05/0.2666, allocations: 8 kB / 0.9933 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.2666, allocations: 3.938 kB / 0.9933 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.2667, allocations: 7.938 kB / 0.9933 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003571/0.2702, allocations: 0.6734 MB / 0.9939 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/0.2706, allocations: 140.6 kB / 0.9941 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.2708, allocations: 11.98 kB / 0.9941 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000943/0.2717, allocations: 44.03 kB / 0.9941 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/0.272, allocations: 47.92 kB / 0.9942 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.359e-05/0.2721, allocations: 15.98 kB / 0.9942 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006164/0.2727, allocations: 263.1 kB / 0.9944 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.81e-07/0.2728, allocations: 4 kB / 0.9944 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009334/0.2737, allocations: 95.69 kB / 0.9945 GB, free: 11.13 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 20 (preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.localActive,preHeatCoil.pumOff.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,TMix.T_start,TMix.count,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.active,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.fire,preHeatCoil.toOff.t_start) * Number of discrete states: 4 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002667/0.274, allocations: 133.4 kB / 0.9947 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002511/0.2765, allocations: 451.5 kB / 0.9951 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2766, allocations: 4.125 kB / 0.9951 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.278, allocations: 183.8 kB / 0.9953 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.2792, allocations: 83.73 kB / 0.9953 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.2822, allocations: 0.8613 MB / 0.9962 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.2826, allocations: 0.8435 MB / 0.997 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003784/0.283, allocations: 51.45 kB / 0.9971 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.2832, allocations: 35.42 kB / 0.9971 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of SimCode: time 1.483e-06/0.2832, allocations: 0 / 0.9971 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of Templates: time 0.01412/0.2973, allocations: 4.398 MB / 1.001 GB, free: 4.059 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)