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.573/2.573, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.001451/0.001451, allocations: 167 kB / 371 MB, free: 10.89 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.139/2.139, allocations: 205.4 MB / 0.6297 GB, free: 10.65 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.0009138/0.0009132, allocations: 86.94 kB / 0.743 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004766, allocations: 10.59 kB / 0.8658 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2397, allocations: 115.3 MB / 0.9783 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.003677/0.2435, allocations: 2.511 MB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002521/0.246, allocations: 1.1 MB / 0.9819 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003854/0.2465, allocations: 19.88 kB / 0.9819 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.2467, allocations: 47.52 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.2469, allocations: 63.5 kB / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009985/0.248, allocations: 235.5 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008094/0.2488, allocations: 0.5975 MB / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006174/0.2494, allocations: 356.1 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.2497, allocations: 171.1 kB / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.2499, allocations: 179 kB / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.019e-05/0.25, allocations: 20 kB / 0.9835 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.2502, allocations: 31.98 kB / 0.9835 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.875e-05/0.2503, allocations: 75.67 kB / 0.9836 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.667e-05/0.2504, allocations: 109.4 kB / 0.9837 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006273/0.251, allocations: 0.5379 MB / 0.9842 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.251, allocations: 0 / 0.9842 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.595e-06/0.2511, allocations: 0 / 0.9842 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.2511, allocations: 4 kB / 0.9842 GB, free: 22.33 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.002172/0.2533, allocations: 0.8001 MB / 0.985 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.2533, allocations: 12.03 kB / 0.985 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.2535, allocations: 63.2 kB / 0.9851 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007729/0.2543, allocations: 419.6 kB / 0.9855 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.406e-05/0.2543, allocations: 37 kB / 0.9855 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.2544, allocations: 56 kB / 0.9856 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.2559, allocations: 0.5352 MB / 0.9861 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.2559, allocations: 0 / 0.9861 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.58e-05/0.256, allocations: 23.94 kB / 0.9861 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.256, allocations: 12 kB / 0.9861 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.2576, allocations: 427.6 kB / 0.9865 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002977/0.2606, allocations: 1.856 MB / 0.9884 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.262, allocations: 366.9 kB / 0.9887 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006327/0.2627, allocations: 176.8 kB / 0.9889 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.173e-05/0.2628, allocations: 4 kB / 0.9889 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.2638, allocations: 233.4 kB / 0.9891 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 9.248e-06/0.2639, allocations: 0 / 0.9891 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.002431/0.2663, allocations: 0.4897 MB / 0.9896 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.2664, allocations: 55.41 kB / 0.9896 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005558/0.267, allocations: 409.4 kB / 0.99 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.234e-05/0.267, allocations: 41.7 kB / 0.9901 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.2672, allocations: 256.1 kB / 0.9903 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.435e-05/0.2673, allocations: 94.75 kB / 0.9904 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.2674, allocations: 8 kB / 0.9904 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2675, allocations: 358.8 kB / 0.9907 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007016/0.2682, allocations: 169 kB / 0.9909 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.2694, allocations: 265.9 kB / 0.9912 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000965/0.2703, allocations: 203.4 kB / 0.9914 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.2704, allocations: 0 / 0.9914 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002422/0.2728, allocations: 0.5343 MB / 0.9919 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.509e-05/0.2729, allocations: 33.69 kB / 0.9919 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.2729, allocations: 4 kB / 0.9919 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.22e-05/0.273, allocations: 8 kB / 0.9919 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007749/0.2738, allocations: 83.83 kB / 0.992 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/0.2738, allocations: 11.92 kB / 0.992 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000911/0.2747, allocations: 83.47 kB / 0.9921 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.75e-05/0.2748, allocations: 23.98 kB / 0.9921 GB, free: 13.92 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.000467/0.2753, allocations: 201.7 kB / 0.9923 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.2755, allocations: 47.52 kB / 0.9923 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/0.2775, allocations: 413.3 kB / 0.9927 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.2776, allocations: 4 kB / 0.9927 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2776, allocations: 0 / 0.9927 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.2776, allocations: 0 / 0.9927 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/0.2808, allocations: 0.9827 MB / 0.9937 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.2809, allocations: 0 / 0.9937 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006349/0.2815, allocations: 55.89 kB / 0.9938 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.257e-05/0.2816, allocations: 4 kB / 0.9938 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.727e-05/0.2816, allocations: 7.938 kB / 0.9938 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.2816, allocations: 4 kB / 0.9938 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2817, allocations: 7.969 kB / 0.9938 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002913/0.2846, allocations: 0.6677 MB / 0.9944 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002687/0.2849, allocations: 140.6 kB / 0.9946 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.285, allocations: 19.98 kB / 0.9946 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00078/0.2858, allocations: 40.03 kB / 0.9946 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.2861, allocations: 47.92 kB / 0.9947 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.724e-05/0.2862, allocations: 15.98 kB / 0.9947 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005577/0.2867, allocations: 263.2 kB / 0.9949 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.81e-07/0.2868, allocations: 0 / 0.9949 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009416/0.2877, allocations: 95.69 kB / 0.995 GB, free: 10.81 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.0002512/0.288, allocations: 125.3 kB / 0.9951 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002177/0.2902, allocations: 455.4 kB / 0.9956 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.2902, allocations: 0 / 0.9956 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00099/0.2912, allocations: 196.2 kB / 0.9958 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.2924, allocations: 79.7 kB / 0.9958 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.295, allocations: 0.8652 MB / 0.9967 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.2955, allocations: 0.8273 MB / 0.9975 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000546/0.2961, allocations: 55.44 kB / 0.9976 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/0.2963, allocations: 31.44 kB / 0.9976 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of SimCode: time 1.402e-06/0.2963, allocations: 0 / 0.9976 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of Templates: time 0.01386/0.3102, allocations: 4.426 MB / 1.002 GB, free: 3.73 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)