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.001272/0.001272, allocations: 80.81 kB / 21.55 MB, free: 2.949 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.00143/0.00143, allocations: 165.5 kB / 24.96 MB, free: 8.699 MB / 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.9128/0.9128, allocations: 177.1 MB / 205.4 MB, free: 4.488 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.945/1.945, allocations: 389.6 MB / 0.6362 GB, free: 13.36 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.443e-06/1.443e-06, allocations: 0 / 0.776 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.049e-05, allocations: 2.312 kB / 0.776 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003613/0.003634, allocations: 2.839 MB / 0.7788 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.005847, allocations: 1.809 MB / 0.7806 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.006037, allocations: 11.88 kB / 0.7806 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0008031/0.00684, allocations: 314.8 kB / 0.7809 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004199/0.00726, allocations: 230.7 kB / 0.7811 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005933/0.007853, allocations: 363 kB / 0.7814 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006206/0.008474, allocations: 0.7574 MB / 0.7822 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004357/0.00891, allocations: 383 kB / 0.7825 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002999/0.00921, allocations: 387.1 kB / 0.7829 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.009423, allocations: 203.3 kB / 0.7831 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.766e-05/0.009481, allocations: 56 kB / 0.7832 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.009666, allocations: 111.9 kB / 0.7833 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.009941, allocations: 199.3 kB / 0.7835 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.01008, allocations: 195.4 kB / 0.7836 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005281/0.01061, allocations: 0.5796 MB / 0.7842 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.01061, allocations: 4 kB / 0.7842 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.493e-06/0.01062, allocations: 0 / 0.7842 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.01062, allocations: 0 / 0.7842 GB, free: 5.465 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.0008728/0.01149, allocations: 0.9569 MB / 0.7851 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.01153, allocations: 8.031 kB / 0.7851 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002678/0.0118, allocations: 120.8 kB / 0.7853 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.01219, allocations: 373.4 kB / 0.7856 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/0.01223, allocations: 49.69 kB / 0.7857 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.01227, allocations: 56.38 kB / 0.7857 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.01272, allocations: 494.6 kB / 0.7862 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.01273, allocations: 0 / 0.7862 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.01276, allocations: 27.98 kB / 0.7862 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.01277, allocations: 12 kB / 0.7862 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.01296, allocations: 169.5 kB / 0.7864 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.01435, allocations: 2.041 MB / 0.7884 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.01465, allocations: 306.1 kB / 0.7887 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.605e-05/0.01474, allocations: 97.11 kB / 0.7888 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.01477, allocations: 16 kB / 0.7888 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.01501, allocations: 247.9 kB / 0.789 GB, free: 220 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=44): time 1.803e-06/0.01501, allocations: 0 / 0.789 GB, free: 220 kB / 0.7448 GB Notification: Performance of matching and sorting (n=44): time 0.0005105/0.01552, allocations: 271.7 kB / 0.7893 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.01559, allocations: 199.9 kB / 0.7895 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.01589, allocations: 0.5144 MB / 0.79 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.01593, allocations: 54.33 kB / 0.79 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003395/0.01626, allocations: 282.3 kB / 0.7903 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.95e-05/0.01633, allocations: 111.1 kB / 0.7904 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.01645, allocations: 154.1 kB / 0.7905 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.01656, allocations: 386.6 kB / 0.7909 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.341e-05/0.01664, allocations: 64.11 kB / 0.791 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.01681, allocations: 275.8 kB / 0.7912 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.01709, allocations: 363.5 kB / 0.7916 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.01709, allocations: 3.938 kB / 0.7916 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0003379/0.01743, allocations: 352.8 kB / 0.7919 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.01745, allocations: 16.36 kB / 0.7919 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.01746, allocations: 8 kB / 0.792 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.01747, allocations: 12 kB / 0.792 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.01765, allocations: 91.78 kB / 0.792 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.01766, allocations: 11.98 kB / 0.7921 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.01778, allocations: 55.56 kB / 0.7921 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.0178, allocations: 20 kB / 0.7921 GB, free: 12.77 MB / 0.7605 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.0001427/0.01794, allocations: 196.3 kB / 0.7923 GB, free: 12.56 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.855e-05/0.01799, allocations: 51.94 kB / 0.7924 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.01822, allocations: 215.4 kB / 0.7926 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.01823, allocations: 8 kB / 0.7926 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.01823, allocations: 0 / 0.7926 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.01824, allocations: 4 kB / 0.7926 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005976/0.01883, allocations: 0.6273 MB / 0.7932 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01884, allocations: 0 / 0.7932 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.927e-05/0.0189, allocations: 31.92 kB / 0.7932 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.01891, allocations: 4 kB / 0.7932 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.01892, allocations: 11.98 kB / 0.7932 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.01893, allocations: 4 kB / 0.7932 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01893, allocations: 4 kB / 0.7933 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.01917, allocations: 398.7 kB / 0.7936 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.01921, allocations: 59.52 kB / 0.7937 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.01925, allocations: 20 kB / 0.7937 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.01933, allocations: 11.98 kB / 0.7937 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/0.0194, allocations: 43.86 kB / 0.7938 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.01942, allocations: 12 kB / 0.7938 GB, free: 11 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001385/0.01956, allocations: 208.4 kB / 0.794 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.01956, allocations: 0 / 0.794 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002905/0.01985, allocations: 139.7 kB / 0.7941 GB, free: 10.66 MB / 0.7605 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.001294/0.02115, allocations: 0.5496 MB / 0.7946 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002831/0.02143, allocations: 274.2 kB / 0.7949 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.02144, allocations: 4 kB / 0.7949 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.02155, allocations: 120.4 kB / 0.795 GB, free: 9.953 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.02186, allocations: 98.11 kB / 0.7951 GB, free: 9.855 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.02301, allocations: 1.038 MB / 0.7961 GB, free: 8.77 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.02312, allocations: 161.9 kB / 0.7963 GB, free: 8.59 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.02324, allocations: 68.34 kB / 0.7963 GB, free: 8.52 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.0234, allocations: 139.3 kB / 0.7965 GB, free: 8.383 MB / 0.7605 GB Notification: Performance of SimCode: time 9.62e-07/0.02341, allocations: 0 / 0.7965 GB, free: 8.383 MB / 0.7605 GB Notification: Performance of Templates: time 0.009046/0.03245, allocations: 5.736 MB / 0.8021 GB, free: 2.727 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.248016284778714]