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.806/1.806, allocations: 288.4 MB / 304.3 MB, free: 8.082 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.0009346/0.000935, allocations: 187 kB / 372.9 MB, free: 10.16 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.562/1.562, allocations: 205.4 MB / 0.6316 GB, free: 9.848 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.0009443/0.0009444, allocations: 86.36 kB / 0.745 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004152, allocations: 11.75 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2241, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.002675/0.2268, allocations: 2.5 MB / 0.9832 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.2284, allocations: 1.108 MB / 0.9843 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.2287, allocations: 19.88 kB / 0.9843 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.2288, allocations: 47.52 kB / 0.9843 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.229, allocations: 55.52 kB / 0.9844 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005674/0.2296, allocations: 233.2 kB / 0.9846 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.23, allocations: 0.6092 MB / 0.9852 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004299/0.2304, allocations: 421 kB / 0.9856 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.2306, allocations: 167.2 kB / 0.9858 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.2308, allocations: 179 kB / 0.9859 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.221e-05/0.2308, allocations: 20 kB / 0.9859 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.217e-05/0.2309, allocations: 27.98 kB / 0.986 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.955e-05/0.231, allocations: 83.61 kB / 0.9861 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.2311, allocations: 220.5 kB / 0.9863 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.2314, allocations: 0.5376 MB / 0.9868 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2315, allocations: 4 kB / 0.9868 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2315, allocations: 0 / 0.9868 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.2315, allocations: 0 / 0.9868 GB, free: 21.11 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.001298/0.2328, allocations: 0.7924 MB / 0.9876 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2328, allocations: 12.03 kB / 0.9876 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.306e-05/0.2329, allocations: 60.19 kB / 0.9876 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.2334, allocations: 436.6 kB / 0.988 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/0.2335, allocations: 41.38 kB / 0.9881 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.175e-05/0.2335, allocations: 56.34 kB / 0.9881 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008137/0.2344, allocations: 0.5355 MB / 0.9887 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.2344, allocations: 0 / 0.9887 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.2344, allocations: 24 kB / 0.9887 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.2344, allocations: 12 kB / 0.9887 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008352/0.2353, allocations: 423.6 kB / 0.9891 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.237, allocations: 1.864 MB / 0.9909 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007979/0.2378, allocations: 363.5 kB / 0.9913 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/0.2382, allocations: 180.8 kB / 0.9914 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.2382, allocations: 7.938 kB / 0.9915 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004836/0.2387, allocations: 229.4 kB / 0.9917 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 2.184e-06/0.2387, allocations: 0 / 0.9917 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.001099/0.2398, allocations: 0.4935 MB / 0.9922 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.2399, allocations: 63.39 kB / 0.9922 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.2402, allocations: 405.3 kB / 0.9926 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.2403, allocations: 41.7 kB / 0.9926 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.2404, allocations: 252.2 kB / 0.9929 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.785e-05/0.2405, allocations: 98.69 kB / 0.993 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.857e-05/0.2405, allocations: 12 kB / 0.993 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.024e-05/0.2406, allocations: 354.8 kB / 0.9933 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.2409, allocations: 161 kB / 0.9935 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/0.2414, allocations: 273.9 kB / 0.9937 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006722/0.242, allocations: 427.4 kB / 0.9941 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2421, allocations: 0 / 0.9941 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008997/0.243, allocations: 0.5335 MB / 0.9947 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.243, allocations: 38.08 kB / 0.9947 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.243, allocations: 11.98 kB / 0.9947 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.243, allocations: 4 kB / 0.9947 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.2433, allocations: 79.83 kB / 0.9948 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.2434, allocations: 8 kB / 0.9948 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.2437, allocations: 83.48 kB / 0.9949 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.2437, allocations: 16 kB / 0.9949 GB, free: 12.42 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.000187/0.2439, allocations: 209.6 kB / 0.9951 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.244, allocations: 43.38 kB / 0.9951 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000839/0.2448, allocations: 413.6 kB / 0.9955 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.2448, allocations: 7.969 kB / 0.9955 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2449, allocations: 3.938 kB / 0.9955 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.245, allocations: 144.5 kB / 0.9957 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.245, allocations: 8 kB / 0.9957 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.2453, allocations: 47.95 kB / 0.9957 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.2454, allocations: 39.94 kB / 0.9958 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001007/0.2464, allocations: 0.4889 MB / 0.9963 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001144/0.2476, allocations: 0.7438 MB / 0.997 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003476/0.248, allocations: 176.5 kB / 0.9971 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002076/0.2482, allocations: 263.2 kB / 0.9974 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of Backend: time 3.8e-07/0.2482, allocations: 0 / 0.9974 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008868/0.2491, allocations: 399.7 kB / 0.9978 GB, free: 9.391 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001275/0.2504, allocations: 1.278 MB / 0.999 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of Templates: time 0.007883/0.2583, allocations: 4.907 MB / 1.004 GB, free: 3.199 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)