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.437/1.437, allocations: 252 MB / 267.6 MB, free: 10.96 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.001008/0.001008, allocations: 178.8 kB / 327.3 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 0.5783 GB, free: 20.27 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.0008454/0.0008456, allocations: 105.9 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004015, allocations: 8.781 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.281, allocations: 106.3 MB / 0.9008 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.003388/0.2844, allocations: 2.519 MB / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.2864, allocations: 1.103 MB / 0.9044 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003016/0.2867, allocations: 19.88 kB / 0.9044 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.287, allocations: 55.52 kB / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.2871, allocations: 55.5 kB / 0.9045 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007185/0.2879, allocations: 229.9 kB / 0.9047 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005022/0.2884, allocations: 0.6131 MB / 0.9053 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000456/0.2888, allocations: 344.2 kB / 0.9056 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.289, allocations: 163.2 kB / 0.9058 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.2892, allocations: 191 kB / 0.906 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.551e-05/0.2893, allocations: 19.94 kB / 0.906 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.294e-05/0.2893, allocations: 24 kB / 0.906 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.669e-05/0.2894, allocations: 83.59 kB / 0.9061 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.206e-05/0.2895, allocations: 113.4 kB / 0.9062 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.2899, allocations: 0.5302 MB / 0.9067 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2899, allocations: 0 / 0.9067 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.174e-06/0.29, allocations: 4 kB / 0.9067 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.29, allocations: 0 / 0.9067 GB, free: 57.86 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.001485/0.2915, allocations: 0.8001 MB / 0.9075 GB, free: 57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2915, allocations: 16.03 kB / 0.9075 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.2916, allocations: 63.28 kB / 0.9076 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.2922, allocations: 419.6 kB / 0.908 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/0.2922, allocations: 44.98 kB / 0.908 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/0.2923, allocations: 48 kB / 0.9081 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008886/0.2932, allocations: 0.5352 MB / 0.9086 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.2932, allocations: 3.984 kB / 0.9086 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.2933, allocations: 16 kB / 0.9086 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.2933, allocations: 16 kB / 0.9086 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008535/0.2941, allocations: 419.6 kB / 0.909 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.296, allocations: 1.86 MB / 0.9108 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008933/0.2969, allocations: 366.2 kB / 0.9112 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/0.2973, allocations: 180.8 kB / 0.9114 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/0.2974, allocations: 4 kB / 0.9114 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006098/0.298, allocations: 225.4 kB / 0.9116 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=34): time 2.404e-06/0.298, allocations: 0 / 0.9116 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.001291/0.2993, allocations: 0.5012 MB / 0.9121 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.2994, allocations: 55.41 kB / 0.9121 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/0.2998, allocations: 401.5 kB / 0.9125 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.2998, allocations: 41.7 kB / 0.9125 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.3, allocations: 256.1 kB / 0.9128 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.548e-05/0.3001, allocations: 102.6 kB / 0.9129 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.3002, allocations: 12 kB / 0.9129 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3003, allocations: 354.8 kB / 0.9132 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.3007, allocations: 161 kB / 0.9134 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.3011, allocations: 273.8 kB / 0.9137 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.3015, allocations: 207.2 kB / 0.9139 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.3015, allocations: 0 / 0.9139 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009961/0.3025, allocations: 0.5304 MB / 0.9144 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.353e-05/0.3026, allocations: 29.7 kB / 0.9144 GB, free: 49.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.3026, allocations: 4 kB / 0.9144 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.648e-05/0.3027, allocations: 8 kB / 0.9144 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.303, allocations: 88.06 kB / 0.9145 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.303, allocations: 7.938 kB / 0.9145 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003673/0.3034, allocations: 87.42 kB / 0.9146 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.3035, allocations: 27.94 kB / 0.9146 GB, free: 49.43 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,$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.0002806/0.3038, allocations: 201.7 kB / 0.9148 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.3038, allocations: 39.53 kB / 0.9148 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009437/0.3048, allocations: 413.4 kB / 0.9152 GB, free: 48.78 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.3048, allocations: 4 kB / 0.9152 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.3048, allocations: 4 kB / 0.9152 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.3048, allocations: 3.984 kB / 0.9152 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.3063, allocations: 0.9752 MB / 0.9162 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3063, allocations: 0 / 0.9162 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.3066, allocations: 55.94 kB / 0.9163 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.3066, allocations: 4 kB / 0.9163 GB, free: 47.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.3066, allocations: 11.98 kB / 0.9163 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3066, allocations: 0 / 0.9163 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3066, allocations: 0 / 0.9163 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.3079, allocations: 0.6675 MB / 0.9169 GB, free: 46.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.308, allocations: 148.4 kB / 0.9171 GB, free: 46.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.216e-05/0.3081, allocations: 12 kB / 0.9171 GB, free: 46.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/0.3084, allocations: 48.02 kB / 0.9171 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.3086, allocations: 47.92 kB / 0.9172 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.3086, allocations: 12 kB / 0.9172 GB, free: 46.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002521/0.3088, allocations: 267.2 kB / 0.9174 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.473e-06/0.3089, allocations: 0 / 0.9174 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003662/0.3092, allocations: 99.69 kB / 0.9175 GB, free: 46.33 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 (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.0002144/0.3094, allocations: 121.4 kB / 0.9176 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008931/0.3103, allocations: 451.8 kB / 0.9181 GB, free: 45.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3104, allocations: 0 / 0.9181 GB, free: 45.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003852/0.3108, allocations: 187.8 kB / 0.9183 GB, free: 45.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005892/0.3114, allocations: 93.39 kB / 0.9183 GB, free: 45.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.3128, allocations: 0.8889 MB / 0.9192 GB, free: 44.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.3132, allocations: 0.8274 MB / 0.92 GB, free: 43.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.3133, allocations: 39.42 kB / 0.9201 GB, free: 43.65 MB / 0.6042 GB Notification: Performance of SimCode: time 2.7e-07/0.3133, allocations: 11.88 kB / 0.9201 GB, free: 43.64 MB / 0.6042 GB Notification: Performance of Templates: time 0.007435/0.3207, allocations: 5.841 MB / 0.9258 GB, free: 37.83 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)