Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.758/1.758, allocations: 288.4 MB / 303.4 MB, free: 8.156 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.001594/0.001594, allocations: 175 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0007755/0.0007757, allocations: 104.2 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004058, allocations: 11.31 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2263, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.002871/0.2292, allocations: 2.504 MB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.2309, allocations: 1.108 MB / 0.9831 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.2311, allocations: 15.88 kB / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.2313, allocations: 51.52 kB / 0.9832 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.2315, allocations: 55.52 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006132/0.2321, allocations: 243.6 kB / 0.9835 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004437/0.2325, allocations: 0.6015 MB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004432/0.233, allocations: 356.1 kB / 0.9844 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.2332, allocations: 167.2 kB / 0.9845 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.2333, allocations: 175 kB / 0.9847 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.91e-05/0.2334, allocations: 20 kB / 0.9847 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.59e-05/0.2335, allocations: 23.94 kB / 0.9848 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.3e-05/0.2336, allocations: 79.66 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.709e-05/0.2337, allocations: 113.4 kB / 0.9849 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003803/0.234, allocations: 0.5379 MB / 0.9855 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2341, allocations: 4 kB / 0.9855 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2341, allocations: 0 / 0.9855 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.2341, allocations: 0 / 0.9855 GB, free: 21.61 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.001356/0.2354, allocations: 0.8017 MB / 0.9863 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2355, allocations: 8.031 kB / 0.9863 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.2356, allocations: 67.19 kB / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005125/0.2361, allocations: 419.6 kB / 0.9867 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/0.2362, allocations: 41 kB / 0.9868 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/0.2362, allocations: 47.94 kB / 0.9868 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009271/0.2372, allocations: 0.543 MB / 0.9873 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.2372, allocations: 4 kB / 0.9873 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.185e-05/0.2373, allocations: 16 kB / 0.9874 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.2373, allocations: 16 kB / 0.9874 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008705/0.2382, allocations: 423.6 kB / 0.9878 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.2399, allocations: 1.856 MB / 0.9896 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008678/0.2408, allocations: 362.9 kB / 0.9899 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004359/0.2413, allocations: 176.8 kB / 0.9901 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.2413, allocations: 8 kB / 0.9901 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005298/0.2419, allocations: 233.3 kB / 0.9903 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 1.934e-06/0.2419, allocations: 4 kB / 0.9903 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.001166/0.243, allocations: 0.4897 MB / 0.9908 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.2431, allocations: 55.41 kB / 0.9909 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003661/0.2435, allocations: 405.4 kB / 0.9913 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.2435, allocations: 45.7 kB / 0.9913 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.2437, allocations: 260.1 kB / 0.9915 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.005e-05/0.2437, allocations: 94.73 kB / 0.9916 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.001e-05/0.2438, allocations: 8 kB / 0.9916 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.044e-05/0.2439, allocations: 350.8 kB / 0.992 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.2442, allocations: 169 kB / 0.9921 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000403/0.2446, allocations: 273.8 kB / 0.9924 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.2451, allocations: 199.2 kB / 0.9926 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.2451, allocations: 4 kB / 0.9926 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009167/0.246, allocations: 0.5342 MB / 0.9931 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.367e-05/0.2461, allocations: 41.75 kB / 0.9932 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.2461, allocations: 4 kB / 0.9932 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.2461, allocations: 11.98 kB / 0.9932 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.2464, allocations: 79.83 kB / 0.9932 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.2464, allocations: 4 kB / 0.9933 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003555/0.2468, allocations: 87.39 kB / 0.9933 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.2468, allocations: 27.92 kB / 0.9934 GB, free: 13.18 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.000219/0.2471, allocations: 193.7 kB / 0.9935 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.2471, allocations: 43.48 kB / 0.9936 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000815/0.2479, allocations: 421.4 kB / 0.994 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.248, allocations: 0 / 0.994 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.248, allocations: 4 kB / 0.994 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.248, allocations: 3.984 kB / 0.994 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.2493, allocations: 0.9789 MB / 0.995 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2493, allocations: 0 / 0.995 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.2496, allocations: 55.89 kB / 0.995 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.2496, allocations: 0 / 0.995 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.2496, allocations: 8 kB / 0.995 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2496, allocations: 0 / 0.995 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2497, allocations: 4 kB / 0.995 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.2508, allocations: 0.6634 MB / 0.9957 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.2509, allocations: 148.6 kB / 0.9958 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.15e-05/0.251, allocations: 8 kB / 0.9958 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.2513, allocations: 43.95 kB / 0.9959 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.2514, allocations: 59.97 kB / 0.9959 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.2515, allocations: 8 kB / 0.9959 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002205/0.2517, allocations: 263.2 kB / 0.9962 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2517, allocations: 0 / 0.9962 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003739/0.2521, allocations: 95.69 kB / 0.9963 GB, free: 10.09 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.0001587/0.2523, allocations: 125.4 kB / 0.9964 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008748/0.2531, allocations: 451.4 kB / 0.9968 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2531, allocations: 0 / 0.9968 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003712/0.2535, allocations: 188.8 kB / 0.997 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.254, allocations: 83.7 kB / 0.9971 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.2553, allocations: 0.8619 MB / 0.9979 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.2555, allocations: 0.8352 MB / 0.9987 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000205/0.2557, allocations: 47.45 kB / 0.9988 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.2558, allocations: 43.36 kB / 0.9988 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2558, allocations: 0 / 0.9988 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of Templates: time 0.007546/0.2634, allocations: 4.419 MB / 1.003 GB, free: 3.023 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)