Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001049, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009221/0.0009221, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.772/1.772, allocations: 292.5 MB / 0.5497 GB, free: 14.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005871/0.0005872, allocations: 13.28 kB / 0.6735 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3107, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.003445/0.3142, allocations: 2.508 MB / 0.7896 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00198/0.3162, allocations: 1.1 MB / 0.7906 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002673/0.3165, allocations: 11.94 kB / 0.7906 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.3167, allocations: 35.59 kB / 0.7907 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003692/0.3171, allocations: 103.6 kB / 0.7908 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006664/0.3177, allocations: 236.6 kB / 0.791 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005858/0.3183, allocations: 408.5 kB / 0.7914 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005662/0.3189, allocations: 355.9 kB / 0.7917 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.3191, allocations: 171.2 kB / 0.7919 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.3194, allocations: 179 kB / 0.7921 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.3194, allocations: 24 kB / 0.7921 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.711e-05/0.3195, allocations: 24 kB / 0.7921 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.841e-05/0.3196, allocations: 79.59 kB / 0.7922 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.3197, allocations: 109.5 kB / 0.7923 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004999/0.3202, allocations: 0.5418 MB / 0.7928 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3202, allocations: 4 kB / 0.7928 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.767e-06/0.3202, allocations: 0 / 0.7928 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.3203, allocations: 3.938 kB / 0.7928 GB, free: 6.086 MB / 0.6075 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.001663/0.3219, allocations: 0.7924 MB / 0.7936 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.322, allocations: 12.03 kB / 0.7936 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.3221, allocations: 59.25 kB / 0.7937 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006068/0.3227, allocations: 431.5 kB / 0.7941 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/0.3228, allocations: 37 kB / 0.7941 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.522e-05/0.3229, allocations: 52 kB / 0.7942 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009608/0.3238, allocations: 0.5313 MB / 0.7947 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3238, allocations: 0 / 0.7947 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.802e-05/0.3239, allocations: 24 kB / 0.7947 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.3239, allocations: 8 kB / 0.7947 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009154/0.3248, allocations: 427.6 kB / 0.7951 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.327, allocations: 1.864 MB / 0.7969 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009726/0.328, allocations: 366.9 kB / 0.7973 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.3281, allocations: 4 kB / 0.7973 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005707/0.3287, allocations: 225.5 kB / 0.7975 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=34): time 1.914e-06/0.3287, allocations: 0 / 0.7975 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34): time 0.001297/0.33, allocations: 0.4946 MB / 0.798 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.33, allocations: 55.41 kB / 0.798 GB, free: 500 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.3305, allocations: 405.4 kB / 0.7984 GB, free: 88 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.3305, allocations: 41.7 kB / 0.7985 GB, free: 40 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.3307, allocations: 260.1 kB / 0.7987 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.279e-05/0.3308, allocations: 98.73 kB / 0.7988 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.3308, allocations: 8 kB / 0.7988 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.331, allocations: 358.8 kB / 0.7992 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003939/0.3314, allocations: 161 kB / 0.7993 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.3318, allocations: 269.9 kB / 0.7996 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/0.3323, allocations: 195.2 kB / 0.7998 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3323, allocations: 8 kB / 0.7998 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001073/0.3334, allocations: 0.5379 MB / 0.8003 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.333e-05/0.3334, allocations: 37.7 kB / 0.8003 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.3335, allocations: 4 kB / 0.8003 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.3335, allocations: 8.281 kB / 0.8003 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.3338, allocations: 79.83 kB / 0.8004 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.3338, allocations: 7.984 kB / 0.8004 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.3342, allocations: 83.41 kB / 0.8005 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/0.3342, allocations: 19.98 kB / 0.8005 GB, free: 13.86 MB / 0.6231 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.0002381/0.3345, allocations: 205.6 kB / 0.8007 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.3345, allocations: 47.47 kB / 0.8008 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008969/0.3354, allocations: 414.2 kB / 0.8012 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3355, allocations: 0 / 0.8012 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3355, allocations: 4 kB / 0.8012 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3355, allocations: 0 / 0.8012 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.337, allocations: 0.9767 MB / 0.8021 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.337, allocations: 7.969 kB / 0.8021 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.3373, allocations: 55.95 kB / 0.8022 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3373, allocations: 0 / 0.8022 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.3373, allocations: 8 kB / 0.8022 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.3373, allocations: 0 / 0.8022 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3373, allocations: 11.92 kB / 0.8022 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.3386, allocations: 0.6692 MB / 0.8029 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.3388, allocations: 148.6 kB / 0.803 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.776e-05/0.3389, allocations: 7.984 kB / 0.803 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.3392, allocations: 43.95 kB / 0.803 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.3393, allocations: 47.94 kB / 0.8031 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.3394, allocations: 15.98 kB / 0.8031 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000281/0.3396, allocations: 259.2 kB / 0.8034 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3397, allocations: 0 / 0.8034 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004134/0.3401, allocations: 95.69 kB / 0.8034 GB, free: 10.75 MB / 0.6231 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.0002251/0.3403, allocations: 133.4 kB / 0.8036 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009891/0.3413, allocations: 459.3 kB / 0.804 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3413, allocations: 0 / 0.804 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.3418, allocations: 179.8 kB / 0.8042 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.3422, allocations: 80.62 kB / 0.8043 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.3438, allocations: 0.866 MB / 0.8051 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.3444, allocations: 0.8435 MB / 0.8059 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000222/0.3446, allocations: 51.45 kB / 0.806 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.3447, allocations: 39.42 kB / 0.806 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of SimCode: time 1.052e-06/0.3447, allocations: 7.938 kB / 0.806 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of Templates: time 0.0104/0.3551, allocations: 4.404 MB / 0.8103 GB, free: 3.672 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1) Environment - environmentSimulation: