Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.672/1.672, allocations: 287.4 MB / 303.2 MB, free: 8.266 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.001304/0.001304, allocations: 176.4 kB / 371.8 MB, free: 10.82 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.405/1.405, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0008725/0.0008726, allocations: 99.25 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004167, allocations: 18.75 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2278, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.002648/0.2305, allocations: 2.503 MB / 0.9817 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.2322, allocations: 1.1 MB / 0.9828 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.2325, allocations: 15.94 kB / 0.9828 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.2327, allocations: 55.45 kB / 0.9829 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.2329, allocations: 51.52 kB / 0.9829 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006466/0.2335, allocations: 241.9 kB / 0.9831 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005019/0.234, allocations: 0.6053 MB / 0.9837 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004605/0.2345, allocations: 421 kB / 0.9841 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.2347, allocations: 167.1 kB / 0.9843 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.2349, allocations: 183 kB / 0.9845 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.656e-05/0.2349, allocations: 16 kB / 0.9845 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.359e-05/0.235, allocations: 27.98 kB / 0.9845 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.2351, allocations: 79.61 kB / 0.9846 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.954e-05/0.2352, allocations: 109.5 kB / 0.9847 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.2355, allocations: 0.5376 MB / 0.9852 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.2355, allocations: 0 / 0.9852 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2355, allocations: 3.938 kB / 0.9852 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.2356, allocations: 0 / 0.9852 GB, free: 22.04 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.001333/0.2369, allocations: 0.7925 MB / 0.986 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.237, allocations: 8.031 kB / 0.986 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.2371, allocations: 64.19 kB / 0.9861 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005548/0.2377, allocations: 436.6 kB / 0.9865 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.2377, allocations: 45.38 kB / 0.9865 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.998e-05/0.2378, allocations: 44.38 kB / 0.9866 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008951/0.2387, allocations: 0.5433 MB / 0.9871 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.2387, allocations: 3.938 kB / 0.9871 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.2388, allocations: 16 kB / 0.9871 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.2388, allocations: 16 kB / 0.9871 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008387/0.2396, allocations: 419.7 kB / 0.9875 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.2415, allocations: 1.86 MB / 0.9893 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008015/0.2423, allocations: 360.8 kB / 0.9897 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003467/0.2427, allocations: 180.7 kB / 0.9899 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.2427, allocations: 11.92 kB / 0.9899 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004934/0.2432, allocations: 233.4 kB / 0.9901 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 3.336e-06/0.2432, allocations: 0 / 0.9901 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.00109/0.2443, allocations: 0.4935 MB / 0.9906 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.2444, allocations: 59.41 kB / 0.9906 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.2447, allocations: 405.3 kB / 0.991 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.2447, allocations: 45.7 kB / 0.9911 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.2449, allocations: 248.2 kB / 0.9913 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.591e-05/0.245, allocations: 98.73 kB / 0.9914 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.863e-05/0.245, allocations: 8 kB / 0.9914 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.2451, allocations: 358.8 kB / 0.9917 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.2455, allocations: 161 kB / 0.9919 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.2459, allocations: 273.9 kB / 0.9922 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006989/0.2466, allocations: 427.4 kB / 0.9926 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2466, allocations: 4 kB / 0.9926 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009263/0.2475, allocations: 0.5336 MB / 0.9931 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.2476, allocations: 37.64 kB / 0.9931 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.2476, allocations: 4.344 kB / 0.9931 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.2476, allocations: 12 kB / 0.9931 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.2479, allocations: 79.81 kB / 0.9932 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.2479, allocations: 12 kB / 0.9932 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.2483, allocations: 83.48 kB / 0.9933 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.2483, allocations: 16 kB / 0.9933 GB, free: 13.36 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.0002084/0.2485, allocations: 209.6 kB / 0.9935 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.2486, allocations: 47.38 kB / 0.9936 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008378/0.2494, allocations: 413.4 kB / 0.994 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2494, allocations: 0 / 0.994 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2495, allocations: 3.984 kB / 0.994 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.2496, allocations: 144.5 kB / 0.9941 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.63e-05/0.2496, allocations: 11.98 kB / 0.9941 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.2499, allocations: 43.97 kB / 0.9942 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.25, allocations: 47.92 kB / 0.9942 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009619/0.251, allocations: 484.5 kB / 0.9947 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001118/0.2521, allocations: 0.7442 MB / 0.9954 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003368/0.2525, allocations: 180 kB / 0.9956 GB, free: 11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000208/0.2527, allocations: 267.1 kB / 0.9958 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of Backend: time 5.61e-07/0.2527, allocations: 0 / 0.9958 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008707/0.2536, allocations: 402 kB / 0.9962 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001205/0.2548, allocations: 1.274 MB / 0.9974 GB, free: 9 MB / 0.6198 GB Notification: Performance of Templates: time 0.007999/0.2628, allocations: 4.874 MB / 1.002 GB, free: 4.16 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)