Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.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.001325/0.001325, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.001552/0.001552, allocations: 169.8 kB / 25.18 MB, free: 9.109 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.9898/0.9898, allocations: 177.1 MB / 205.6 MB, free: 5.047 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.888/1.888, allocations: 389.5 MB / 0.6364 GB, free: 12.23 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.OperationalEnvelope,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.7756 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.545e-05/3.783e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.006233/0.006271, allocations: 3.279 MB / 0.7788 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002988/0.009259, allocations: 1.558 MB / 0.7803 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000308/0.009567, allocations: 8 kB / 0.7803 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004132/0.00998, allocations: 107 kB / 0.7804 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0007518/0.01073, allocations: 328.6 kB / 0.7808 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007279/0.01146, allocations: 368.7 kB / 0.7811 GB, free: 348 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001033/0.01249, allocations: 0.9076 MB / 0.782 GB, free: 15.43 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004389/0.01293, allocations: 235 kB / 0.7822 GB, free: 15.2 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006787/0.01361, allocations: 0.5077 MB / 0.7827 GB, free: 14.69 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005609/0.01417, allocations: 331 kB / 0.783 GB, free: 14.37 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.0143, allocations: 80.94 kB / 0.7831 GB, free: 14.29 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.01454, allocations: 103.9 kB / 0.7832 GB, free: 14.19 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 0.0003472/0.01489, allocations: 255.2 kB / 0.7834 GB, free: 13.94 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.01506, allocations: 232 kB / 0.7837 GB, free: 13.71 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0005951/0.01566, allocations: 0.6226 MB / 0.7843 GB, free: 13.09 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.01566, allocations: 0.5312 kB / 0.7843 GB, free: 13.09 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.342e-06/0.01566, allocations: 0.9375 kB / 0.7843 GB, free: 13.09 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.01567, allocations: 0 / 0.7843 GB, free: 13.09 MB / 0.7449 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001253/0.01693, allocations: 1.04 MB / 0.7853 GB, free: 12.01 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.01696, allocations: 10.47 kB / 0.7853 GB, free: 12 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/0.0172, allocations: 104.8 kB / 0.7854 GB, free: 11.9 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.01774, allocations: 437.2 kB / 0.7858 GB, free: 11.45 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.01777, allocations: 33.38 kB / 0.7859 GB, free: 11.41 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.01782, allocations: 49.44 kB / 0.7859 GB, free: 11.37 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004644/0.01828, allocations: 461.4 kB / 0.7863 GB, free: 10.88 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.01829, allocations: 3.938 kB / 0.7863 GB, free: 10.88 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.01832, allocations: 17.12 kB / 0.7864 GB, free: 10.86 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.01833, allocations: 8 kB / 0.7864 GB, free: 10.86 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.01848, allocations: 109.8 kB / 0.7865 GB, free: 10.75 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.0195, allocations: 0.7401 MB / 0.7872 GB, free: 9.988 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.01972, allocations: 134 kB / 0.7873 GB, free: 9.848 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.74e-05/0.01979, allocations: 62.62 kB / 0.7874 GB, free: 9.785 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.01982, allocations: 8.5 kB / 0.7874 GB, free: 9.777 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.02002, allocations: 175.1 kB / 0.7876 GB, free: 9.586 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=33): time 1.403e-06/0.02002, allocations: 0 / 0.7876 GB, free: 9.586 MB / 0.7449 GB Notification: Performance of matching and sorting (n=33): time 0.0002701/0.02029, allocations: 199.8 kB / 0.7877 GB, free: 9.387 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.02035, allocations: 162.7 kB / 0.7879 GB, free: 9.191 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.02072, allocations: 0.5523 MB / 0.7884 GB, free: 8.621 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.02076, allocations: 50.75 kB / 0.7885 GB, free: 8.566 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.02089, allocations: 250.5 kB / 0.7887 GB, free: 8.316 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.02094, allocations: 95.28 kB / 0.7888 GB, free: 8.223 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.211e-05/0.02103, allocations: 98.98 kB / 0.7889 GB, free: 8.121 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.02115, allocations: 382.6 kB / 0.7893 GB, free: 7.738 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.49e-05/0.02123, allocations: 101.3 kB / 0.7894 GB, free: 7.625 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.02137, allocations: 265.9 kB / 0.7896 GB, free: 7.309 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.02155, allocations: 218.1 kB / 0.7898 GB, free: 7.062 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.02156, allocations: 1.031 kB / 0.7898 GB, free: 7.062 MB / 0.7449 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003622/0.02192, allocations: 341.6 kB / 0.7902 GB, free: 6.699 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/0.02196, allocations: 63.41 kB / 0.7902 GB, free: 6.625 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.02196, allocations: 0 / 0.7902 GB, free: 6.625 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.02197, allocations: 4 kB / 0.7902 GB, free: 6.621 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.02211, allocations: 60.98 kB / 0.7903 GB, free: 6.562 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.02212, allocations: 4 kB / 0.7903 GB, free: 6.559 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.02229, allocations: 61.38 kB / 0.7904 GB, free: 6.5 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.02231, allocations: 15.94 kB / 0.7904 GB, free: 6.484 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 37 (opeEnv.disErr.y,$PRE.opeEnv.disErr.y,opeEnv.disErr.local_reset,opeEnv.disErr.local_set,opeEnv.intConOne.y,ySetOn.y,$PRE.ySetOn.y,TEvaInEmu.count,$PRE.TEvaInEmu.count,TEvaInEmu.T_start,$PRE.TEvaInEmu.T_start,TConOutEmu.count,$PRE.TConOutEmu.count,TConOutEmu.T_start,$PRE.TConOutEmu.T_start,opeEnv.bouMapCoo.hysBou.y,$PRE.opeEnv.bouMapCoo.hysBou.y,opeEnv.bouMapCoo.hysRig.y,$PRE.opeEnv.bouMapCoo.hysRig.y,opeEnv.bouMapCoo.hysLef.y,$PRE.opeEnv.bouMapCoo.hysLef.y,opeEnv.bouMapCoo.noErr,opeEnv.bouMapHea.hysBou.y,$PRE.opeEnv.bouMapHea.hysBou.y,opeEnv.bouMapHea.hysRig.y,$PRE.opeEnv.bouMapHea.hysRig.y,opeEnv.bouMapHea.hysLef.y,$PRE.opeEnv.bouMapHea.hysLef.y,opeEnv.bouMapHea.noErr,opeEnv.canOpe,opeEnv.errAndSetOn.y,hys.y,$PRE.hys.y,sigBus.hea,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 2 * 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.000128/0.02244, allocations: 162.5 kB / 0.7905 GB, free: 6.316 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.02249, allocations: 51.94 kB / 0.7906 GB, free: 6.266 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.02272, allocations: 205.5 kB / 0.7908 GB, free: 6.055 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.02272, allocations: 4 kB / 0.7908 GB, free: 6.051 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.02272, allocations: 0.9375 kB / 0.7908 GB, free: 6.051 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.02273, allocations: 0 / 0.7908 GB, free: 6.051 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.02322, allocations: 0.5887 MB / 0.7913 GB, free: 5.438 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.02322, allocations: 4 kB / 0.7914 GB, free: 5.434 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.319e-05/0.02331, allocations: 37.84 kB / 0.7914 GB, free: 5.398 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.02332, allocations: 4 kB / 0.7914 GB, free: 5.395 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.02334, allocations: 7.984 kB / 0.7914 GB, free: 5.387 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.02334, allocations: 4 kB / 0.7914 GB, free: 5.383 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02334, allocations: 0 / 0.7914 GB, free: 5.383 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.02356, allocations: 360.8 kB / 0.7917 GB, free: 5.02 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.02362, allocations: 63.5 kB / 0.7918 GB, free: 4.957 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.225e-05/0.02367, allocations: 16 kB / 0.7918 GB, free: 4.941 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.02384, allocations: 39.97 kB / 0.7919 GB, free: 4.902 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.02395, allocations: 83.78 kB / 0.7919 GB, free: 4.82 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.02397, allocations: 13.7 kB / 0.792 GB, free: 4.809 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 0.0002022/0.02417, allocations: 263.4 kB / 0.7922 GB, free: 4.555 MB / 0.7449 GB Notification: Performance of sort global known variables: time 6e-08/0.02417, allocations: 0 / 0.7922 GB, free: 4.555 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.000279/0.02445, allocations: 131.7 kB / 0.7923 GB, free: 4.426 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 21 (opeEnv.errAndSetOn.y,$whenCondition3,$whenCondition2,$whenCondition1,sigBus.hea,hys.y,opeEnv.disErr.y,opeEnv.canOpe,opeEnv.bouMapHea.noErr,opeEnv.bouMapHea.hysLef.y,opeEnv.bouMapHea.hysRig.y,opeEnv.bouMapHea.hysBou.y,opeEnv.bouMapCoo.noErr,opeEnv.bouMapCoo.hysLef.y,opeEnv.bouMapCoo.hysRig.y,opeEnv.bouMapCoo.hysBou.y,TConOutEmu.T_start,TConOutEmu.count,TEvaInEmu.T_start,TEvaInEmu.count,ySetOn.y) * Number of discrete states: 11 (TEvaInEmu.count,TConOutEmu.count,ySetOn.y,opeEnv.bouMapCoo.hysLef.y,opeEnv.bouMapCoo.hysRig.y,opeEnv.bouMapHea.hysLef.y,opeEnv.bouMapHea.hysRig.y,opeEnv.bouMapCoo.hysBou.y,opeEnv.bouMapHea.hysBou.y,hys.y,opeEnv.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0009447/0.02539, allocations: 470.3 kB / 0.7928 GB, free: 4.172 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0002907/0.02568, allocations: 336.9 kB / 0.7931 GB, free: 3.805 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.668e-05/0.0257, allocations: 8 kB / 0.7931 GB, free: 3.797 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.02581, allocations: 102.7 kB / 0.7932 GB, free: 3.695 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.02625, allocations: 178.9 kB / 0.7934 GB, free: 3.523 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.0274, allocations: 0.9832 MB / 0.7943 GB, free: 2.5 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.02762, allocations: 317.3 kB / 0.7946 GB, free: 2.168 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/0.02796, allocations: 205.2 kB / 0.7948 GB, free: 1.965 MB / 0.7449 GB Notification: Performance of SimCode: time 8.11e-07/0.02796, allocations: 1 kB / 0.7948 GB, free: 1.965 MB / 0.7449 GB Notification: Performance of Templates: time 0.01033/0.03829, allocations: 9.436 MB / 0.804 GB, free: 8.684 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.sim & ./Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope > Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.194766294211149]