Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.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.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007525/0.0007522, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008086/0.0008087, allocations: 172.7 kB / 15.95 MB, free: 208 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.335/1.335, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.688/1.688, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0004912/0.0004912, allocations: 18.56 kB / 0.6737 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2182, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.003402/0.2216, allocations: 2.706 MB / 0.7899 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002789/0.2245, allocations: 1.631 MB / 0.7915 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004389/0.2249, allocations: 11.94 kB / 0.7915 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.226, allocations: 272.1 kB / 0.7918 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005379/0.2265, allocations: 155.2 kB / 0.7919 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008765/0.2274, allocations: 290.8 kB / 0.7922 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000949/0.2284, allocations: 0.7183 MB / 0.7929 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006838/0.2291, allocations: 434.1 kB / 0.7933 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/0.2294, allocations: 231 kB / 0.7936 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003169/0.2297, allocations: 250.7 kB / 0.7938 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.745e-05/0.2298, allocations: 27.94 kB / 0.7938 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.23, allocations: 67.97 kB / 0.7939 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.2302, allocations: 155.4 kB / 0.794 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.2303, allocations: 145.2 kB / 0.7942 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005732/0.2309, allocations: 0.6004 MB / 0.7948 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2309, allocations: 4 kB / 0.7948 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2309, allocations: 4 kB / 0.7948 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.723e-05/0.2309, allocations: 0 / 0.7948 GB, free: 4.258 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.001345/0.2323, allocations: 0.958 MB / 0.7957 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.2323, allocations: 11.97 kB / 0.7957 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.2325, allocations: 102.8 kB / 0.7958 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006897/0.2332, allocations: 0.4997 MB / 0.7963 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.263e-05/0.2333, allocations: 79.02 kB / 0.7964 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-05/0.2333, allocations: 60 kB / 0.7964 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00092/0.2343, allocations: 0.6559 MB / 0.7971 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.2343, allocations: 4 kB / 0.7971 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.7e-05/0.2344, allocations: 24 kB / 0.7971 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.2344, allocations: 23.94 kB / 0.7971 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006683/0.235, allocations: 407.5 kB / 0.7975 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.2375, allocations: 2.693 MB / 0.8001 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005225/0.238, allocations: 259.1 kB / 0.8004 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.2383, allocations: 140.8 kB / 0.8005 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.247e-05/0.2383, allocations: 11.73 kB / 0.8005 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003508/0.2387, allocations: 191 kB / 0.8007 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=38): time 2.285e-06/0.2387, allocations: 4 kB / 0.8007 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of matching and sorting (n=38): time 0.0008222/0.2395, allocations: 421.1 kB / 0.8011 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/0.2396, allocations: 85.11 kB / 0.8012 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007319/0.2403, allocations: 0.6561 MB / 0.8018 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.227e-05/0.2404, allocations: 49.69 kB / 0.8019 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.2407, allocations: 400.1 kB / 0.8023 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.438e-05/0.2408, allocations: 98.81 kB / 0.8024 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.2408, allocations: 12 kB / 0.8024 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.241, allocations: 378.8 kB / 0.8027 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.2413, allocations: 141.2 kB / 0.8029 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.2417, allocations: 361 kB / 0.8032 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.242, allocations: 155.9 kB / 0.8034 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.242, allocations: 0 / 0.8034 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008316/0.2429, allocations: 0.5393 MB / 0.8039 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.2429, allocations: 8 kB / 0.8039 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.2429, allocations: 8.078 kB / 0.8039 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.2429, allocations: 11.94 kB / 0.8039 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.2432, allocations: 75.78 kB / 0.804 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/0.2432, allocations: 19.91 kB / 0.804 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.2435, allocations: 67.89 kB / 0.8041 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-05/0.2436, allocations: 31.98 kB / 0.8041 GB, free: 10.22 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.condition,transition2.enableFire,transition3.enableFire,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,off.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.active,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,$PRE.warUpCtr.pre.u,transition5.enableFire,$PRE.warUpCtr.hysTem.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * 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.0003087/0.2439, allocations: 262.9 kB / 0.8044 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.244, allocations: 67.16 kB / 0.8044 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000673/0.2447, allocations: 396.1 kB / 0.8048 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.2447, allocations: 8 kB / 0.8048 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.2447, allocations: 0 / 0.8048 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.2447, allocations: 3.984 kB / 0.8048 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.2461, allocations: 1.01 MB / 0.8058 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2461, allocations: 0 / 0.8058 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.2462, allocations: 27.92 kB / 0.8058 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.2463, allocations: 4 kB / 0.8058 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.2463, allocations: 8 kB / 0.8058 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.2463, allocations: 3.953 kB / 0.8058 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2463, allocations: 4 kB / 0.8058 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006145/0.2469, allocations: 447.2 kB / 0.8063 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.2471, allocations: 148.1 kB / 0.8064 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.923e-05/0.2472, allocations: 12 kB / 0.8064 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.2473, allocations: 15.98 kB / 0.8064 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.2475, allocations: 63.81 kB / 0.8065 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.2475, allocations: 12 kB / 0.8065 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005313/0.2481, allocations: 431 kB / 0.8069 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2481, allocations: 0 / 0.8069 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006301/0.2487, allocations: 131.6 kB / 0.807 GB, free: 7.098 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 35 (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: 8 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 38 * 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.001064/0.2498, allocations: 458.2 kB / 0.8075 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007408/0.2505, allocations: 388.6 kB / 0.8078 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2505, allocations: 0 / 0.8078 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002814/0.2508, allocations: 165.3 kB / 0.808 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.2514, allocations: 93.67 kB / 0.8081 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.2534, allocations: 1.333 MB / 0.8094 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006384/0.2541, allocations: 0.9497 MB / 0.8103 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003008/0.2544, allocations: 88.66 kB / 0.8104 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.2545, allocations: 47.42 kB / 0.8105 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of SimCode: time 3.3e-07/0.2545, allocations: 0 / 0.8105 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of Templates: time 0.0115/0.266, allocations: 5.28 MB / 0.8156 GB, free: 14.48 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1) Environment - environmentSimulation: