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 loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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") 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.386/2.386, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.001474/0.001474, allocations: 191.6 kB / 325.8 MB, free: 2.781 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.439/2.439, allocations: 205.4 MB / 0.5767 GB, free: 20.75 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.000924/0.0009235, allocations: 85.95 kB / 0.6812 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004787, allocations: 10.56 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2078, allocations: 106.3 MB / 0.899 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.00374/0.2116, allocations: 2.515 MB / 0.9015 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002554/0.2142, allocations: 1.111 MB / 0.9026 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004688/0.2148, allocations: 15.94 kB / 0.9026 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.215, allocations: 55.45 kB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.2153, allocations: 47.58 kB / 0.9027 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009629/0.2162, allocations: 237.8 kB / 0.9029 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007703/0.217, allocations: 0.6092 MB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006635/0.2177, allocations: 400.1 kB / 0.9039 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.218, allocations: 167.2 kB / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.2182, allocations: 179 kB / 0.9042 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.065e-05/0.2183, allocations: 20 kB / 0.9042 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.2184, allocations: 24 kB / 0.9043 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.2185, allocations: 87.59 kB / 0.9044 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.557e-05/0.2186, allocations: 105.5 kB / 0.9045 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005965/0.2192, allocations: 0.538 MB / 0.905 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2193, allocations: 0 / 0.905 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2193, allocations: 0 / 0.905 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.2193, allocations: 0 / 0.905 GB, free: 59.3 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.002121/0.2214, allocations: 0.8054 MB / 0.9058 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2215, allocations: 8.031 kB / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.2216, allocations: 64.27 kB / 0.9058 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008082/0.2225, allocations: 424.9 kB / 0.9062 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.01e-05/0.2226, allocations: 37.38 kB / 0.9063 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.2227, allocations: 48.38 kB / 0.9063 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.2242, allocations: 0.5471 MB / 0.9069 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.2242, allocations: 4 kB / 0.9069 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.819e-05/0.2243, allocations: 20 kB / 0.9069 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.2243, allocations: 15.98 kB / 0.9069 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.2259, allocations: 419.6 kB / 0.9073 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003124/0.2291, allocations: 1.852 MB / 0.9091 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.2306, allocations: 362.9 kB / 0.9094 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006499/0.2313, allocations: 176.7 kB / 0.9096 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.685e-05/0.2314, allocations: 11.88 kB / 0.9096 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008038/0.2322, allocations: 229.5 kB / 0.9098 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=34): time 3.246e-06/0.2322, allocations: 0 / 0.9098 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.002041/0.2343, allocations: 0.5012 MB / 0.9103 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.2343, allocations: 55.41 kB / 0.9104 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005892/0.2349, allocations: 405.4 kB / 0.9108 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.916e-05/0.235, allocations: 37.7 kB / 0.9108 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.2352, allocations: 252.2 kB / 0.9111 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.92e-05/0.2353, allocations: 102.6 kB / 0.9111 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.2354, allocations: 12 kB / 0.9112 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.2355, allocations: 350.8 kB / 0.9115 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006849/0.2362, allocations: 165 kB / 0.9117 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007224/0.2369, allocations: 280.3 kB / 0.9119 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006898/0.2376, allocations: 203.2 kB / 0.9121 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2376, allocations: 0 / 0.9121 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001713/0.2394, allocations: 0.5304 MB / 0.9126 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.314e-05/0.2394, allocations: 33.7 kB / 0.9127 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.2395, allocations: 4 kB / 0.9127 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.2395, allocations: 4.25 kB / 0.9127 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000566/0.2401, allocations: 83.88 kB / 0.9128 GB, free: 51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.2401, allocations: 11.94 kB / 0.9128 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006461/0.2407, allocations: 87.39 kB / 0.9128 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.822e-05/0.2408, allocations: 16 kB / 0.9129 GB, free: 50.88 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.0003216/0.2412, allocations: 209.7 kB / 0.9131 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-05/0.2412, allocations: 39.47 kB / 0.9131 GB, free: 50.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.2427, allocations: 417.4 kB / 0.9135 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.2428, allocations: 4 kB / 0.9135 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.2428, allocations: 0 / 0.9135 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.2428, allocations: 3.984 kB / 0.9135 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.2451, allocations: 0.9709 MB / 0.9145 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.2452, allocations: 4 kB / 0.9145 GB, free: 49.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/0.2457, allocations: 55.94 kB / 0.9145 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.2457, allocations: 3.938 kB / 0.9145 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.2457, allocations: 11.98 kB / 0.9145 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.2457, allocations: 4 kB / 0.9145 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2458, allocations: 0 / 0.9145 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/0.2479, allocations: 0.6638 MB / 0.9152 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.2481, allocations: 152.4 kB / 0.9153 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.905e-05/0.2482, allocations: 12 kB / 0.9153 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/0.2488, allocations: 44.02 kB / 0.9154 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.249, allocations: 51.86 kB / 0.9154 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.249, allocations: 12 kB / 0.9154 GB, free: 48.13 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003707/0.2494, allocations: 267.2 kB / 0.9157 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2494, allocations: 0 / 0.9157 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005631/0.25, allocations: 95.75 kB / 0.9158 GB, free: 47.77 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.0001948/0.2502, allocations: 117.4 kB / 0.9159 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.2518, allocations: 455.8 kB / 0.9163 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.2518, allocations: 3.938 kB / 0.9163 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007138/0.2525, allocations: 187.8 kB / 0.9165 GB, free: 47.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000815/0.2534, allocations: 91.81 kB / 0.9166 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.2554, allocations: 0.8641 MB / 0.9174 GB, free: 46.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.2557, allocations: 0.8313 MB / 0.9183 GB, free: 45.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003649/0.2561, allocations: 51.44 kB / 0.9183 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.2563, allocations: 39.42 kB / 0.9183 GB, free: 45.07 MB / 0.6042 GB Notification: Performance of SimCode: time 9.62e-07/0.2563, allocations: 0 / 0.9183 GB, free: 45.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.01347/0.2698, allocations: 4.41 MB / 0.9226 GB, free: 40.7 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)