Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.53/1.53, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 179.7 kB / 326.5 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009339/0.000934, allocations: 94.34 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003278, allocations: 8.781 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2644, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.003595/0.268, allocations: 2.678 MB / 0.8994 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0027/0.2708, allocations: 1.158 MB / 0.9005 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007657/0.2716, allocations: 15.94 kB / 0.9005 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004917/0.2721, allocations: 55.45 kB / 0.9006 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005286/0.2727, allocations: 59.58 kB / 0.9006 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.2738, allocations: 322.6 kB / 0.9009 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006563/0.2745, allocations: 0.6482 MB / 0.9016 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004918/0.275, allocations: 399.7 kB / 0.9019 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.2752, allocations: 175.1 kB / 0.9021 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.2754, allocations: 190.8 kB / 0.9023 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.084e-05/0.2754, allocations: 20 kB / 0.9023 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.934e-05/0.2755, allocations: 27.98 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.026e-05/0.2756, allocations: 79.56 kB / 0.9024 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.2758, allocations: 206.7 kB / 0.9026 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003901/0.2762, allocations: 0.5377 MB / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2762, allocations: 3.938 kB / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2762, allocations: 0 / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.2762, allocations: 0 / 0.9031 GB, free: 61.61 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.001468/0.2777, allocations: 0.7964 MB / 0.9039 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2778, allocations: 8.031 kB / 0.9039 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.2779, allocations: 64.28 kB / 0.904 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006249/0.2785, allocations: 432.6 kB / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.22e-05/0.2786, allocations: 41.36 kB / 0.9044 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.33e-05/0.2787, allocations: 48.38 kB / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009463/0.2796, allocations: 0.5433 MB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.2797, allocations: 4 kB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.643e-05/0.2797, allocations: 23.97 kB / 0.905 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.2798, allocations: 16 kB / 0.905 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008497/0.2806, allocations: 423.6 kB / 0.9054 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.2826, allocations: 1.856 MB / 0.9073 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008727/0.2835, allocations: 362.9 kB / 0.9076 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003711/0.2839, allocations: 184.8 kB / 0.9078 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.284, allocations: 7.938 kB / 0.9078 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005247/0.2845, allocations: 225.5 kB / 0.908 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.2845, allocations: 0 / 0.908 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.001133/0.2856, allocations: 0.5015 MB / 0.9085 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.2857, allocations: 67.33 kB / 0.9086 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.2861, allocations: 401.4 kB / 0.9089 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.2861, allocations: 45.69 kB / 0.909 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.2863, allocations: 248.2 kB / 0.9092 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.935e-05/0.2863, allocations: 102.6 kB / 0.9093 GB, free: 55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.41e-05/0.2864, allocations: 69.67 kB / 0.9094 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2865, allocations: 354.8 kB / 0.9097 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.2869, allocations: 161 kB / 0.9099 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.2873, allocations: 277.9 kB / 0.9101 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006992/0.288, allocations: 423.4 kB / 0.9105 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.288, allocations: 4 kB / 0.9106 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009248/0.289, allocations: 0.538 MB / 0.9111 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.514e-05/0.289, allocations: 36.2 kB / 0.9111 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.289, allocations: 4 kB / 0.9111 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.2891, allocations: 8.25 kB / 0.9111 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.2894, allocations: 83.81 kB / 0.9112 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.2894, allocations: 4 kB / 0.9112 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003366/0.2897, allocations: 87.39 kB / 0.9113 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.2898, allocations: 20 kB / 0.9113 GB, free: 52.83 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,preHeatCoil.toOff.t_start,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.fire,preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.active,preHeatCoil.pumOn.oldActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.toOn.enableFire,preHeatCoil.pumOff.oldActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.active,preHeatCoil.preHeaOn.y,$PRE.preHeatCoil.preHeaOn.y,TMix.count,$PRE.TMix.count,TMix.T_start,$PRE.TMix.T_start,$whenCondition1,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002038/0.29, allocations: 201.6 kB / 0.9115 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.29, allocations: 47.47 kB / 0.9115 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008639/0.2909, allocations: 409.6 kB / 0.9119 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.2909, allocations: 7.938 kB / 0.9119 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2909, allocations: 0 / 0.9119 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.291, allocations: 3.984 kB / 0.912 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.2924, allocations: 0.979 MB / 0.9129 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.2924, allocations: 32 / 0.9129 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.2926, allocations: 55.91 kB / 0.913 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.2926, allocations: 4 kB / 0.913 GB, free: 51.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.2927, allocations: 11.98 kB / 0.913 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2927, allocations: 3.938 kB / 0.913 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2927, allocations: 4 kB / 0.913 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.2938, allocations: 0.6636 MB / 0.9136 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.294, allocations: 156.4 kB / 0.9138 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/0.294, allocations: 8.062 kB / 0.9138 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.2943, allocations: 43.95 kB / 0.9138 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.2945, allocations: 51.88 kB / 0.9139 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.2945, allocations: 4 kB / 0.9139 GB, free: 50.08 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00024/0.2948, allocations: 275.2 kB / 0.9141 GB, free: 49.81 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2948, allocations: 3.938 kB / 0.9141 GB, free: 49.81 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003652/0.2951, allocations: 91.75 kB / 0.9142 GB, free: 49.72 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001823/0.2953, allocations: 118.5 kB / 0.9143 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008705/0.2962, allocations: 459.4 kB / 0.9148 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2962, allocations: 4 kB / 0.9148 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003795/0.2966, allocations: 183.8 kB / 0.915 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005293/0.2971, allocations: 77.77 kB / 0.915 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.2985, allocations: 0.925 MB / 0.9159 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.2988, allocations: 0.8235 MB / 0.9167 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.2989, allocations: 39.42 kB / 0.9168 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.2989, allocations: 0 / 0.9168 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.006993/0.3059, allocations: 5.849 MB / 0.9225 GB, free: 41.2 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)