Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.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.0009934/0.0009934, allocations: 80.81 kB / 21.55 MB, free: 2.938 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.001091/0.001091, allocations: 164.1 kB / 24.97 MB, free: 8.16 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.9361/0.9361, allocations: 177.2 MB / 205.4 MB, free: 4.469 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.987/1.987, allocations: 389.6 MB / 0.6362 GB, free: 13.34 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.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.7761 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.435e-05, allocations: 5.406 kB / 0.7761 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety): time 0.006596/0.006621, allocations: 4.971 MB / 0.7809 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003518/0.01014, allocations: 2.619 MB / 0.7835 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005532/0.01069, allocations: 23.88 kB / 0.7835 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006466/0.01134, allocations: 286.5 kB / 0.7838 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0007336/0.01207, allocations: 445.1 kB / 0.7842 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007837/0.01286, allocations: 0.5655 MB / 0.7848 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001687/0.01454, allocations: 1.571 MB / 0.7863 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008106/0.01535, allocations: 477.9 kB / 0.7868 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009285/0.01628, allocations: 0.877 MB / 0.7876 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005954/0.01688, allocations: 0.5375 MB / 0.7881 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001615/0.01704, allocations: 156 kB / 0.7883 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002636/0.0173, allocations: 199.9 kB / 0.7885 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.01756, allocations: 422.8 kB / 0.7889 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.01784, allocations: 438.8 kB / 0.7893 GB, free: 228 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008812/0.01872, allocations: 1.086 MB / 0.7904 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.01873, allocations: 4 kB / 0.7904 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.51e-07/0.01873, allocations: 0 / 0.7904 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.01874, allocations: 4 kB / 0.7904 GB, free: 15.12 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001683/0.02042, allocations: 1.743 MB / 0.7921 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.02046, allocations: 12.03 kB / 0.7921 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005439/0.021, allocations: 179.8 kB / 0.7922 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006623/0.02166, allocations: 0.6216 MB / 0.7929 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.825e-05/0.02171, allocations: 77.92 kB / 0.7929 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.705e-05/0.02181, allocations: 92 kB / 0.793 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008004/0.02261, allocations: 0.8722 MB / 0.7939 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.02262, allocations: 3.938 kB / 0.7939 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.02267, allocations: 36 kB / 0.7939 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.02268, allocations: 23.94 kB / 0.7939 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.02298, allocations: 196.7 kB / 0.7941 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.02487, allocations: 1.456 MB / 0.7955 GB, free: 9.605 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.02516, allocations: 227.1 kB / 0.7958 GB, free: 9.375 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.02527, allocations: 86.3 kB / 0.7958 GB, free: 9.289 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.02531, allocations: 12.5 kB / 0.7958 GB, free: 9.277 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003148/0.02562, allocations: 297.9 kB / 0.7961 GB, free: 8.973 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=62): time 2.194e-06/0.02562, allocations: 0 / 0.7961 GB, free: 8.973 MB / 0.7605 GB Notification: Performance of matching and sorting (n=62): time 0.0004502/0.02607, allocations: 341.9 kB / 0.7965 GB, free: 8.633 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.154e-05/0.02616, allocations: 251.8 kB / 0.7967 GB, free: 8.332 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005935/0.02675, allocations: 0.8052 MB / 0.7975 GB, free: 7.5 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.559e-05/0.0268, allocations: 69.64 kB / 0.7976 GB, free: 7.426 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.02701, allocations: 406.5 kB / 0.7979 GB, free: 7.023 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.6e-05/0.02711, allocations: 174.7 kB / 0.7981 GB, free: 6.852 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.02729, allocations: 206.4 kB / 0.7983 GB, free: 6.641 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.499e-05/0.02737, allocations: 341.9 kB / 0.7986 GB, free: 6.301 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.02756, allocations: 277.9 kB / 0.7989 GB, free: 5.988 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005259/0.02809, allocations: 0.6343 MB / 0.7995 GB, free: 5.203 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.02844, allocations: 0.5096 MB / 0.8 GB, free: 4.602 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.02844, allocations: 4 kB / 0.8 GB, free: 4.598 MB / 0.7605 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.000572/0.02901, allocations: 0.8036 MB / 0.8008 GB, free: 3.699 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-05/0.02909, allocations: 211.5 kB / 0.801 GB, free: 3.453 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.0291, allocations: 4 kB / 0.801 GB, free: 3.449 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.02912, allocations: 8.438 kB / 0.801 GB, free: 3.441 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.02942, allocations: 143.7 kB / 0.8012 GB, free: 3.301 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.02943, allocations: 8 kB / 0.8012 GB, free: 3.293 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003665/0.02979, allocations: 139.4 kB / 0.8013 GB, free: 3.156 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.02983, allocations: 27.98 kB / 0.8013 GB, free: 3.129 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 83 (safCtr.opeEnv.disErr.y,$PRE.safCtr.opeEnv.disErr.y,safCtr.antFre.disErr.y,$PRE.safCtr.antFre.disErr.y,safCtr.minVolFloRatSaf.disErr.y,$PRE.safCtr.minVolFloRatSaf.disErr.y,safCtr.opeEnv.disErr.local_reset,safCtr.opeEnv.disErr.local_set,safCtr.opeEnv.intConOne.y,safCtr.antFre.disErr.local_reset,safCtr.antFre.disErr.local_set,safCtr.antFre.intConOne.y,safCtr.minVolFloRatSaf.disErr.local_reset,safCtr.minVolFloRatSaf.disErr.local_set,safCtr.minVolFloRatSaf.intConOne.y,conHea.y,mEvaEmu_flow.count,$PRE.mEvaEmu_flow.count,mEvaEmu_flow.T_start,$PRE.mEvaEmu_flow.T_start,mConEmu_flow.count,$PRE.mConEmu_flow.count,mConEmu_flow.T_start,$PRE.mConEmu_flow.T_start,TEvaInEmu.count,$PRE.TEvaInEmu.count,TEvaInEmu.T_start,$PRE.TEvaInEmu.T_start,TConOutEmu.count,$PRE.TConOutEmu.count,TConOutEmu.T_start,$PRE.TConOutEmu.T_start,TEvaOutEmu.count,$PRE.TEvaOutEmu.count,TEvaOutEmu.T_start,$PRE.TEvaOutEmu.T_start,TConInEmu.count,$PRE.TConInEmu.count,TConInEmu.T_start,$PRE.TConInEmu.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,safCtr.andCanOpe.y,safCtr.andCanOpe.u[3],safCtr.andCanOpe.u[1],safCtr.ySetOn.y,$PRE.safCtr.ySetOn.y,safCtr.minVolFloRatSaf.hysEva.y,$PRE.safCtr.minVolFloRatSaf.hysEva.y,safCtr.minVolFloRatSaf.hysCon.y,$PRE.safCtr.minVolFloRatSaf.hysCon.y,safCtr.minVolFloRatSaf.errAndSetOn.y,safCtr.antFre.hys.y,$PRE.safCtr.antFre.hys.y,safCtr.antFre.errAndSetOn.y,safCtr.opeEnv.bouMapCoo.hysBou.y,$PRE.safCtr.opeEnv.bouMapCoo.hysBou.y,safCtr.opeEnv.bouMapCoo.hysRig.y,$PRE.safCtr.opeEnv.bouMapCoo.hysRig.y,safCtr.opeEnv.bouMapCoo.hysLef.y,$PRE.safCtr.opeEnv.bouMapCoo.hysLef.y,safCtr.opeEnv.bouMapCoo.noErr,safCtr.opeEnv.bouMapHea.hysBou.y,$PRE.safCtr.opeEnv.bouMapHea.hysBou.y,safCtr.opeEnv.bouMapHea.hysRig.y,$PRE.safCtr.opeEnv.bouMapHea.hysRig.y,safCtr.opeEnv.bouMapHea.hysLef.y,$PRE.safCtr.opeEnv.bouMapHea.hysLef.y,safCtr.opeEnv.errAndSetOn.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 7 * 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.0002161/0.03005, allocations: 212.5 kB / 0.8015 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.995e-05/0.03014, allocations: 91.83 kB / 0.8016 GB, free: 2.812 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/0.03051, allocations: 324.5 kB / 0.8019 GB, free: 2.496 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.03052, allocations: 3.984 kB / 0.8019 GB, free: 2.492 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.03052, allocations: 0 / 0.8019 GB, free: 2.492 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.547e-05/0.03061, allocations: 99.25 kB / 0.802 GB, free: 2.395 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-05/0.03071, allocations: 35.98 kB / 0.8021 GB, free: 2.359 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.03099, allocations: 83.91 kB / 0.8021 GB, free: 2.277 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/0.03121, allocations: 160.2 kB / 0.8023 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003197/0.03153, allocations: 330.2 kB / 0.8026 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003529/0.03189, allocations: 477.7 kB / 0.8031 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001748/0.03206, allocations: 157.8 kB / 0.8032 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003005/0.03236, allocations: 353.1 kB / 0.8035 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of Backend: time 3.4e-07/0.03236, allocations: 3.938 kB / 0.8035 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.3039/0.3363, allocations: 1.348 MB / 0.8049 GB, free: 37.18 MB / 0.7605 GB Notification: Performance of SimCode: time 0.002849/0.3392, allocations: 2.322 MB / 0.8071 GB, free: 35.88 MB / 0.7605 GB Notification: Performance of Templates: time 0.02704/0.3662, allocations: 19.98 MB / 0.8266 GB, free: 31.43 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.sim & ./Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.13676094263792]