Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.091/2.091, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001344/0.001344, allocations: 186.4 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.433/2.433, allocations: 205.4 MB / 0.5772 GB, free: 21.15 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.0009968/0.0009966, allocations: 88.48 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006264/0.0006266, allocations: 11.75 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2331, allocations: 106.3 MB / 0.8995 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.003654/0.2368, allocations: 2.519 MB / 0.902 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002216/0.2391, allocations: 1.108 MB / 0.903 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002798/0.2394, allocations: 19.81 kB / 0.9031 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.2396, allocations: 51.52 kB / 0.9031 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.2398, allocations: 59.5 kB / 0.9032 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008464/0.2407, allocations: 227 kB / 0.9034 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006996/0.2414, allocations: 0.617 MB / 0.904 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005936/0.242, allocations: 408.1 kB / 0.9044 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.2422, allocations: 167.1 kB / 0.9045 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.2425, allocations: 179 kB / 0.9047 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.994e-05/0.2425, allocations: 19.94 kB / 0.9047 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.518e-05/0.2426, allocations: 24 kB / 0.9047 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.868e-05/0.2427, allocations: 79.66 kB / 0.9048 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.811e-05/0.2429, allocations: 113.4 kB / 0.9049 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005655/0.2434, allocations: 0.5338 MB / 0.9054 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.2434, allocations: 4 kB / 0.9055 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2435, allocations: 0 / 0.9055 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.2435, allocations: 0 / 0.9055 GB, free: 59.9 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.001995/0.2455, allocations: 0.804 MB / 0.9062 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.2455, allocations: 12.03 kB / 0.9062 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.2457, allocations: 56.28 kB / 0.9063 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007339/0.2464, allocations: 420.9 kB / 0.9067 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.931e-05/0.2465, allocations: 37.38 kB / 0.9067 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.891e-05/0.2466, allocations: 52.38 kB / 0.9068 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.248, allocations: 0.5472 MB / 0.9073 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.2481, allocations: 0 / 0.9073 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.617e-05/0.2481, allocations: 16 kB / 0.9073 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.2482, allocations: 12 kB / 0.9073 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.2497, allocations: 423.6 kB / 0.9078 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002848/0.2526, allocations: 1.856 MB / 0.9096 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.254, allocations: 358.9 kB / 0.9099 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00064/0.2547, allocations: 178.2 kB / 0.9101 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.841e-05/0.2548, allocations: 11.94 kB / 0.9101 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008051/0.2556, allocations: 225.4 kB / 0.9103 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=34): time 3.597e-06/0.2556, allocations: 4 kB / 0.9103 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.001979/0.2576, allocations: 0.4934 MB / 0.9108 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.2576, allocations: 55.41 kB / 0.9108 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005533/0.2582, allocations: 409.4 kB / 0.9112 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.379e-05/0.2583, allocations: 41.7 kB / 0.9113 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.2585, allocations: 256.2 kB / 0.9115 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.936e-05/0.2586, allocations: 98.64 kB / 0.9116 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.2586, allocations: 8 kB / 0.9116 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.992e-05/0.2587, allocations: 354.8 kB / 0.912 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007298/0.2595, allocations: 165 kB / 0.9121 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007166/0.2602, allocations: 273.9 kB / 0.9124 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006941/0.2609, allocations: 211.1 kB / 0.9126 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.261, allocations: 3.938 kB / 0.9126 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001682/0.2626, allocations: 0.5307 MB / 0.9131 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.2627, allocations: 35.42 kB / 0.9131 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.2627, allocations: 7.984 kB / 0.9131 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.2628, allocations: 8 kB / 0.9131 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/0.2633, allocations: 75.83 kB / 0.9132 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.2634, allocations: 8 kB / 0.9132 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006504/0.264, allocations: 87.42 kB / 0.9133 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/0.2641, allocations: 20 kB / 0.9133 GB, free: 51.48 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,$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.000318/0.2644, allocations: 205.6 kB / 0.9135 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.736e-05/0.2645, allocations: 47.47 kB / 0.9136 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.266, allocations: 413.4 kB / 0.914 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.266, allocations: 3.984 kB / 0.914 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.266, allocations: 0 / 0.914 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.2662, allocations: 148.4 kB / 0.9141 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.561e-05/0.2663, allocations: 12 kB / 0.9141 GB, free: 50.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005167/0.2668, allocations: 43.95 kB / 0.9142 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.267, allocations: 47.94 kB / 0.9142 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001798/0.2688, allocations: 488.5 kB / 0.9147 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002075/0.2709, allocations: 0.7443 MB / 0.9154 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006328/0.2716, allocations: 176 kB / 0.9156 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003616/0.2719, allocations: 263.2 kB / 0.9158 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of Backend: time 4.71e-07/0.272, allocations: 0 / 0.9158 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001349/0.2733, allocations: 406.4 kB / 0.9162 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001793/0.2751, allocations: 1.271 MB / 0.9175 GB, free: 47.13 MB / 0.6042 GB Notification: Performance of Templates: time 0.01368/0.2888, allocations: 4.876 MB / 0.9222 GB, free: 42.3 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)