Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009632/0.0009632, allocations: 80.75 kB / 20.82 MB, free: 3.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 165 kB / 24.25 MB, free: 212 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9731/0.9731, allocations: 177.1 MB / 204.7 MB, free: 5.422 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.91/1.91, allocations: 389.6 MB / 0.6355 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.7754 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.222e-05, allocations: 4.281 kB / 0.7754 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.005615/0.005637, allocations: 2.843 MB / 0.7782 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00249/0.008127, allocations: 1.82 MB / 0.78 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.008362, allocations: 8.625 kB / 0.78 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007544/0.009116, allocations: 322.5 kB / 0.7803 GB, free: 276 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004026/0.009519, allocations: 224.8 kB / 0.7805 GB, free: 56 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006468/0.01017, allocations: 357 kB / 0.7808 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006423/0.01081, allocations: 0.7573 MB / 0.7816 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004121/0.01122, allocations: 394.3 kB / 0.7819 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.01151, allocations: 379.1 kB / 0.7823 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.01172, allocations: 213 kB / 0.7825 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.495e-05/0.01178, allocations: 52 kB / 0.7826 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.01195, allocations: 111.9 kB / 0.7827 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.01207, allocations: 195.3 kB / 0.7828 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.01219, allocations: 196.5 kB / 0.783 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005302/0.01272, allocations: 0.5835 MB / 0.7836 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.01273, allocations: 0 / 0.7836 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.343e-06/0.01273, allocations: 1.062 kB / 0.7836 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.01273, allocations: 0 / 0.7836 GB, free: 12.86 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.0008815/0.01362, allocations: 0.9505 MB / 0.7845 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.01365, allocations: 9.344 kB / 0.7845 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.01391, allocations: 128.8 kB / 0.7847 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.01432, allocations: 366.4 kB / 0.785 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/0.01436, allocations: 51.05 kB / 0.7851 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.01441, allocations: 56.38 kB / 0.7851 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/0.01486, allocations: 494.6 kB / 0.7856 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.01487, allocations: 0 / 0.7856 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.0149, allocations: 29.48 kB / 0.7856 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.01491, allocations: 12 kB / 0.7856 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.0151, allocations: 167.3 kB / 0.7858 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.01672, allocations: 2.043 MB / 0.7878 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.01702, allocations: 305.5 kB / 0.7881 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.475e-05/0.0171, allocations: 101.9 kB / 0.7882 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.01712, allocations: 12 kB / 0.7882 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.01738, allocations: 236.3 kB / 0.7884 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=44): time 2.335e-06/0.01738, allocations: 0 / 0.7884 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44): time 0.0003619/0.01774, allocations: 278.7 kB / 0.7887 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.29e-05/0.01783, allocations: 199.8 kB / 0.7889 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.01821, allocations: 0.5105 MB / 0.7894 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.931e-05/0.01826, allocations: 57.69 kB / 0.7894 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.01841, allocations: 275.8 kB / 0.7897 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.919e-05/0.01848, allocations: 111.1 kB / 0.7898 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.01861, allocations: 150.2 kB / 0.7899 GB, free: 6 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.01873, allocations: 390.6 kB / 0.7903 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.268e-05/0.0188, allocations: 61.23 kB / 0.7904 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.01896, allocations: 283.8 kB / 0.7906 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.01924, allocations: 355.8 kB / 0.791 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.01925, allocations: 3.938 kB / 0.791 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0003332/0.01958, allocations: 358.2 kB / 0.7913 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.0196, allocations: 8 kB / 0.7913 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.01961, allocations: 12.69 kB / 0.7913 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.01962, allocations: 8 kB / 0.7913 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.01979, allocations: 93.39 kB / 0.7914 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.0198, allocations: 11.94 kB / 0.7914 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.01993, allocations: 59.61 kB / 0.7915 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.01995, allocations: 24 kB / 0.7915 GB, free: 4.203 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition2.t_start,$PRE.transition2.t_start,transition1.t_start,$PRE.transition1.t_start,transition4.t_start,$PRE.transition4.t_start,transition3.t_start,$PRE.transition3.t_start,transition5.t_start,$PRE.transition5.t_start,transition5.enableFire,timer.entryTime,$PRE.timer.entryTime,timer.passed,$PRE.timer.passed,transition3.enableFire,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.localActive,$PRE.off.localActive,off.active,transition4.enableFire,transition1.enableFire,transition2.enableFire,stateGraphRoot.activeSteps,norm.oldActive,$PRE.norm.oldActive,norm.newActive,$PRE.norm.newActive,norm.outPort[2].available,norm.inPort[2].occupied,norm.localActive,$PRE.norm.localActive,norm.active,cooDow.active,cooDow.oldActive,$PRE.cooDow.oldActive,cooDow.newActive,$PRE.cooDow.newActive,cooDow.outPort[2].available,cooDow.inPort[2].occupied,cooDow.localActive,$PRE.cooDow.localActive,and1.y,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,actMod,$whenCondition4,$whenCondition3,$whenCondition2,stateGraphRoot.suspend,stateGraphRoot.resume,transition5.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0001508/0.0201, allocations: 195 kB / 0.7917 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.02015, allocations: 47.95 kB / 0.7918 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.02038, allocations: 215.4 kB / 0.792 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.02038, allocations: 4 kB / 0.792 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.02039, allocations: 8.609 kB / 0.792 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.02039, allocations: 0 / 0.792 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/0.02098, allocations: 0.6253 MB / 0.7926 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.02099, allocations: 4 kB / 0.7926 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.9e-05/0.02105, allocations: 31.92 kB / 0.7926 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.02106, allocations: 0 / 0.7926 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.02107, allocations: 9.156 kB / 0.7926 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.545e-06/0.02108, allocations: 11.92 kB / 0.7926 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.02109, allocations: 4 kB / 0.7926 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/0.02157, allocations: 391.6 kB / 0.793 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.02161, allocations: 59.5 kB / 0.7931 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.02165, allocations: 20.97 kB / 0.7931 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.917e-05/0.02173, allocations: 11.98 kB / 0.7931 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.0218, allocations: 40.81 kB / 0.7931 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.02182, allocations: 15.98 kB / 0.7932 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001384/0.02196, allocations: 216.3 kB / 0.7934 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.02196, allocations: 0.625 kB / 0.7934 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003026/0.02226, allocations: 136.7 kB / 0.7935 GB, free: 2.117 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 37 (transition5.t_start,transition3.t_start,transition4.t_start,transition1.t_start,transition2.t_start,off.active,norm.active,cooDow.localActive,cooDow.active,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.passed,timer.entryTime) * Number of discrete states: 11 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,transition2.t_start,transition1.t_start,transition4.t_start,transition3.t_start,transition5.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001118/0.02338, allocations: 0.5423 MB / 0.794 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002848/0.02367, allocations: 268.4 kB / 0.7943 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.02368, allocations: 8 kB / 0.7943 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.02379, allocations: 118.2 kB / 0.7944 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.0241, allocations: 115.4 kB / 0.7945 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.02524, allocations: 1.035 MB / 0.7955 GB, free: 252 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.511e-05/0.02534, allocations: 157.9 kB / 0.7957 GB, free: 72 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001243/0.02546, allocations: 60.78 kB / 0.7957 GB, free: 16 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.02563, allocations: 135.3 kB / 0.7959 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of SimCode: time 5.01e-07/0.02564, allocations: 0.5312 kB / 0.7959 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of Templates: time 0.009538/0.03517, allocations: 5.758 MB / 0.8015 GB, free: 10.3 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.10836354829371]