Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.301/2.301, allocations: 391.2 MB / 407 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001406, allocations: 190.4 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009865/0.0009865, allocations: 103.6 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 54.56 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2793, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.004486/0.2838, allocations: 3.174 MB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002314/0.2862, allocations: 1.775 MB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.2864, allocations: 15.94 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008181/0.2873, allocations: 287.2 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.2876, allocations: 155.3 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005864/0.2882, allocations: 359.2 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0005549/0.2887, allocations: 0.7807 MB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004536/0.2892, allocations: 0.5084 MB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.2894, allocations: 270.9 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.2897, allocations: 306.5 kB / 1.226 GB, free: 109.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 7.385e-05/0.2897, allocations: 43.94 kB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.2899, allocations: 87.97 kB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.2901, allocations: 195.2 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.2903, allocations: 333.8 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005255/0.2908, allocations: 0.8018 MB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2908, allocations: 0 / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.01e-07/0.2908, allocations: 0 / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.2908, allocations: 0 / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.001437/0.2923, allocations: 1.111 MB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2923, allocations: 11.98 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.2925, allocations: 95.89 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000613/0.2931, allocations: 0.5085 MB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.875e-05/0.2932, allocations: 83.33 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.895e-05/0.2932, allocations: 68 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007801/0.294, allocations: 0.6559 MB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.294, allocations: 3.938 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/0.2941, allocations: 31.98 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.2941, allocations: 16 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005752/0.2947, allocations: 411.6 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.2967, allocations: 2.709 MB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004941/0.2972, allocations: 355.7 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.2974, allocations: 173.1 kB / 1.233 GB, free: 101.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.272e-05/0.2975, allocations: 15.98 kB / 1.233 GB, free: 101.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003406/0.2978, allocations: 264.7 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=43): time 2.785e-06/0.2979, allocations: 7.938 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=43): time 0.0007604/0.2986, allocations: 472 kB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.2987, allocations: 221.6 kB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/0.2992, allocations: 0.6442 MB / 1.235 GB, free: 99.87 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.2992, allocations: 50.31 kB / 1.235 GB, free: 99.82 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.2994, allocations: 380.5 kB / 1.235 GB, free: 99.44 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.949e-05/0.2995, allocations: 106.6 kB / 1.235 GB, free: 99.34 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.2997, allocations: 162.5 kB / 1.235 GB, free: 99.17 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2998, allocations: 386.7 kB / 1.236 GB, free: 98.79 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/0.3, allocations: 149.9 kB / 1.236 GB, free: 98.64 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.3004, allocations: 380.5 kB / 1.236 GB, free: 98.17 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/0.3008, allocations: 442.8 kB / 1.237 GB, free: 97.65 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3008, allocations: 0 / 1.237 GB, free: 97.65 MB / 0.823 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0007239/0.3016, allocations: 0.5663 MB / 1.237 GB, free: 97.08 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3016, allocations: 4.781 kB / 1.237 GB, free: 97.07 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3016, allocations: 8 kB / 1.237 GB, free: 97.07 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.3016, allocations: 12 kB / 1.237 GB, free: 97.05 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.3019, allocations: 79.77 kB / 1.237 GB, free: 96.98 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.3019, allocations: 19.88 kB / 1.237 GB, free: 96.96 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.3021, allocations: 67.36 kB / 1.237 GB, free: 96.89 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.217e-05/0.3022, allocations: 28 kB / 1.237 GB, free: 96.86 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition1.t_start,$PRE.transition1.t_start,transition2.t_start,$PRE.transition2.t_start,transition3.t_start,$PRE.transition3.t_start,transition4.t_start,$PRE.transition4.t_start,transition5.t_start,$PRE.transition5.t_start,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.enableFire,$PRE.warUpCtr.pre.u,nor.oldActive,$PRE.nor.oldActive,nor.newActive,$PRE.nor.newActive,nor.localActive,$PRE.nor.localActive,nor.active,transition4.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.outPort[2].available,off.inPort[2].occupied,off.localActive,$PRE.off.localActive,off.active,warUp.active,warUp.oldActive,$PRE.warUp.oldActive,warUp.newActive,$PRE.warUp.newActive,warUp.outPort[2].available,warUp.inPort[2].occupied,warUp.localActive,$PRE.warUp.localActive,transition3.enableFire,transition2.enableFire,transition2.condition,transition1.enableFire,actMod,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,warUpCtr.pre.u,warUpCtr.hysPow.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysTem.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * 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.000253/0.3024, allocations: 278.2 kB / 1.238 GB, free: 96.59 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.3025, allocations: 71.16 kB / 1.238 GB, free: 96.52 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005673/0.3031, allocations: 391.6 kB / 1.238 GB, free: 96.12 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3031, allocations: 4 kB / 1.238 GB, free: 96.12 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3031, allocations: 0 / 1.238 GB, free: 96.12 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3031, allocations: 7.984 kB / 1.238 GB, free: 96.11 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.3042, allocations: 1.026 MB / 1.239 GB, free: 95.03 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3042, allocations: 0 / 1.239 GB, free: 95.03 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.3043, allocations: 31.92 kB / 1.239 GB, free: 95 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3043, allocations: 0 / 1.239 GB, free: 95 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.3043, allocations: 15.98 kB / 1.239 GB, free: 94.98 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3044, allocations: 7.938 kB / 1.239 GB, free: 94.98 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3044, allocations: 3.938 kB / 1.239 GB, free: 94.97 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009983/0.3054, allocations: 1.314 MB / 1.24 GB, free: 93.59 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.089e-05/0.3055, allocations: 144.2 kB / 1.24 GB, free: 93.43 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.416e-05/0.3055, allocations: 19.94 kB / 1.241 GB, free: 93.41 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.3057, allocations: 19.98 kB / 1.241 GB, free: 93.39 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.3058, allocations: 47.94 kB / 1.241 GB, free: 93.34 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.3059, allocations: 19.98 kB / 1.241 GB, free: 93.32 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003241/0.3062, allocations: 415 kB / 1.241 GB, free: 92.92 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3062, allocations: 0 / 1.241 GB, free: 92.92 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005189/0.3067, allocations: 143.6 kB / 1.241 GB, free: 92.78 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 40 (transition5.t_start,transition4.t_start,transition3.t_start,transition2.t_start,transition1.t_start,nor.active,off.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.condition,transition2.enableFire,transition3.enableFire,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,warUp.active,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 13 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled,transition1.t_start,transition2.t_start,transition3.t_start,transition4.t_start,transition5.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0009555/0.3077, allocations: 471.9 kB / 1.242 GB, free: 92.47 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005756/0.3083, allocations: 411.5 kB / 1.242 GB, free: 92.07 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3083, allocations: 0 / 1.242 GB, free: 92.07 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.3086, allocations: 179.8 kB / 1.242 GB, free: 91.89 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000539/0.3091, allocations: 98.83 kB / 1.242 GB, free: 91.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.3107, allocations: 1.686 MB / 1.244 GB, free: 90.05 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.3111, allocations: 0.9578 MB / 1.245 GB, free: 89.07 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002141/0.3113, allocations: 80.52 kB / 1.245 GB, free: 88.99 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.3114, allocations: 55.42 kB / 1.245 GB, free: 88.93 MB / 0.823 GB Notification: Performance of SimCode: time 1.9e-07/0.3114, allocations: 0 / 1.245 GB, free: 88.93 MB / 0.823 GB Notification: Performance of Templates: time 0.009593/0.321, allocations: 5.793 MB / 1.251 GB, free: 83.2 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)