Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.438/2.438, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001621/0.00162, allocations: 186.1 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.475/2.475, allocations: 205.4 MB / 0.5766 GB, free: 20.7 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 96.11 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.000472, allocations: 15.94 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2122, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.003722/0.216, allocations: 2.516 MB / 0.9013 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002716/0.2187, allocations: 1.092 MB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004758/0.2193, allocations: 11.94 kB / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.2195, allocations: 47.56 kB / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005266/0.22, allocations: 95.61 kB / 0.9025 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009473/0.221, allocations: 241.3 kB / 0.9028 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008098/0.2218, allocations: 408.5 kB / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005955/0.2224, allocations: 360.1 kB / 0.9035 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.2227, allocations: 167.3 kB / 0.9037 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.2229, allocations: 182.9 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.168e-05/0.223, allocations: 24 kB / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.2231, allocations: 20 kB / 0.9039 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.2232, allocations: 79.67 kB / 0.904 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.2234, allocations: 109.4 kB / 0.9041 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006622/0.224, allocations: 0.5419 MB / 0.9046 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2241, allocations: 0 / 0.9046 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2241, allocations: 0 / 0.9046 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.2241, allocations: 0 / 0.9046 GB, free: 59.59 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.002155/0.2262, allocations: 0.8001 MB / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.2263, allocations: 8.031 kB / 0.9054 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002277/0.2266, allocations: 59.3 kB / 0.9054 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.2279, allocations: 427.6 kB / 0.9059 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.832e-05/0.2281, allocations: 41 kB / 0.9059 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.2283, allocations: 51.98 kB / 0.9059 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.2305, allocations: 0.5313 MB / 0.9065 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.2306, allocations: 7.938 kB / 0.9065 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.695e-05/0.2307, allocations: 19.94 kB / 0.9065 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.2307, allocations: 12 kB / 0.9065 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002441/0.2332, allocations: 423.6 kB / 0.9069 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004675/0.2379, allocations: 1.856 MB / 0.9087 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/0.2404, allocations: 375.3 kB / 0.9091 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.578e-05/0.2405, allocations: 4 kB / 0.9091 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001186/0.2417, allocations: 221.5 kB / 0.9093 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=34): time 7.054e-06/0.2417, allocations: 0 / 0.9093 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.003267/0.245, allocations: 0.5051 MB / 0.9098 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.2452, allocations: 63.41 kB / 0.9098 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008941/0.2461, allocations: 401.4 kB / 0.9102 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001221/0.2462, allocations: 41.7 kB / 0.9103 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.2465, allocations: 248.2 kB / 0.9105 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.2467, allocations: 106.6 kB / 0.9106 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.2468, allocations: 8 kB / 0.9106 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.247, allocations: 354.8 kB / 0.9109 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.2481, allocations: 169 kB / 0.9111 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.2494, allocations: 273.8 kB / 0.9114 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.2505, allocations: 203.3 kB / 0.9116 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.2505, allocations: 4 kB / 0.9116 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002633/0.2532, allocations: 0.5263 MB / 0.9121 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.482e-05/0.2533, allocations: 33.7 kB / 0.9121 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.2533, allocations: 4.281 kB / 0.9121 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-05/0.2534, allocations: 8 kB / 0.9121 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008584/0.2543, allocations: 83.81 kB / 0.9122 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.038e-05/0.2543, allocations: 8 kB / 0.9122 GB, free: 51.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009513/0.2553, allocations: 87.39 kB / 0.9123 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.498e-05/0.2554, allocations: 16 kB / 0.9123 GB, free: 51.34 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.0005123/0.2559, allocations: 217.6 kB / 0.9125 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.2561, allocations: 35.53 kB / 0.9126 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.258, allocations: 413.4 kB / 0.9129 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.258, allocations: 4 kB / 0.9129 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.2581, allocations: 4 kB / 0.913 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.2581, allocations: 7.922 kB / 0.913 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003051/0.2612, allocations: 0.9671 MB / 0.9139 GB, free: 49.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.2612, allocations: 8.031 kB / 0.9139 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005841/0.2618, allocations: 47.91 kB / 0.914 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.2619, allocations: 4 kB / 0.914 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-05/0.2619, allocations: 11.98 kB / 0.914 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.2619, allocations: 4 kB / 0.914 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.262, allocations: 0 / 0.914 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.2647, allocations: 0.6733 MB / 0.9146 GB, free: 48.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002872/0.265, allocations: 152.5 kB / 0.9148 GB, free: 48.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.2652, allocations: 12 kB / 0.9148 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007012/0.2659, allocations: 39.95 kB / 0.9148 GB, free: 48.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002243/0.2661, allocations: 51.88 kB / 0.9149 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.188e-05/0.2662, allocations: 16 kB / 0.9149 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005188/0.2667, allocations: 267.1 kB / 0.9151 GB, free: 48.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.11e-07/0.2667, allocations: 0 / 0.9151 GB, free: 48.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008657/0.2676, allocations: 99.69 kB / 0.9152 GB, free: 48.21 MB / 0.6042 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.0002435/0.2679, allocations: 121.4 kB / 0.9154 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001945/0.2698, allocations: 459.3 kB / 0.9158 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.2699, allocations: 0 / 0.9158 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009189/0.2708, allocations: 192.2 kB / 0.916 GB, free: 47.44 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008804/0.2717, allocations: 69.52 kB / 0.916 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.2744, allocations: 0.8655 MB / 0.9169 GB, free: 46.47 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/0.2749, allocations: 0.8357 MB / 0.9177 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006185/0.2756, allocations: 55.44 kB / 0.9178 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/0.2759, allocations: 39.44 kB / 0.9178 GB, free: 45.51 MB / 0.6042 GB Notification: Performance of SimCode: time 1.643e-06/0.2759, allocations: 0 / 0.9178 GB, free: 45.51 MB / 0.6042 GB Notification: Performance of Templates: time 0.02098/0.2969, allocations: 4.407 MB / 0.9221 GB, free: 41.14 MB / 0.6042 GB