Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.001282/0.001282, allocations: 77.09 kB / 19.93 MB, free: 1.773 MB / 14.72 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.00141/0.00141, allocations: 170.1 kB / 23.22 MB, free: 4.883 MB / 14.72 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 1.373/1.373, allocations: 177.1 MB / 203.5 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9021/0.9021, allocations: 114 MB / 373.9 MB, free: 13.21 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.5547 GB, free: 2.559 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.254e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.555 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.0017/0.001723, allocations: 0.8079 MB / 0.5555 GB, free: 1.746 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.002871, allocations: 0.9132 MB / 0.5564 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.931e-05/0.002921, allocations: 4 kB / 0.5564 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.893e-05/0.00296, allocations: 11.86 kB / 0.5564 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 8.868e-05/0.003048, allocations: 19.81 kB / 0.5565 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.003256, allocations: 43.88 kB / 0.5565 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.003403, allocations: 119.6 kB / 0.5566 GB, free: 0.625 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.003507, allocations: 17.3 kB / 0.5566 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.003704, allocations: 79.75 kB / 0.5567 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.622e-05/0.00379, allocations: 43.88 kB / 0.5567 GB, free: 500 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.003815, allocations: 8 kB / 0.5568 GB, free: 492 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.755e-05/0.003873, allocations: 15.98 kB / 0.5568 GB, free: 476 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.215e-05/0.003905, allocations: 31.91 kB / 0.5568 GB, free: 444 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.295e-05/0.003948, allocations: 27.92 kB / 0.5568 GB, free: 416 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.004146, allocations: 131.5 kB / 0.557 GB, free: 284 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004148, allocations: 0 / 0.557 GB, free: 284 kB / 462.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004149, allocations: 4 kB / 0.557 GB, free: 280 kB / 462.1 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.004152, allocations: 0 / 0.557 GB, free: 280 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007171/0.004869, allocations: 361.8 kB / 0.5573 GB, free: 15.89 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.004906, allocations: 16.56 kB / 0.5573 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/0.005164, allocations: 36.81 kB / 0.5574 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.005656, allocations: 190.3 kB / 0.5575 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.005679, allocations: 8.375 kB / 0.5575 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.005697, allocations: 4.375 kB / 0.5575 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.005981, allocations: 124.7 kB / 0.5577 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.005991, allocations: 192 / 0.5577 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.006005, allocations: 4.375 kB / 0.5577 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.006013, allocations: 8.125 kB / 0.5577 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.006308, allocations: 67.92 kB / 0.5577 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.006885, allocations: 432.7 kB / 0.5582 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.007156, allocations: 115.8 kB / 0.5583 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.00732, allocations: 58.47 kB / 0.5583 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.007341, allocations: 4 kB / 0.5583 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.007381, allocations: 42.5 kB / 0.5584 GB, free: 14.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.007382, allocations: 0 / 0.5584 GB, free: 14.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006432/0.008025, allocations: 157.5 kB / 0.5585 GB, free: 14.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.0081, allocations: 106.8 kB / 0.5586 GB, free: 14.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.008232, allocations: 145.8 kB / 0.5588 GB, free: 14.24 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.008263, allocations: 37.69 kB / 0.5588 GB, free: 14.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/0.008338, allocations: 104.4 kB / 0.5589 GB, free: 14.09 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.008374, allocations: 27.78 kB / 0.5589 GB, free: 14.06 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.008429, allocations: 33.95 kB / 0.559 GB, free: 14.02 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.008584, allocations: 322.8 kB / 0.5593 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.008752, allocations: 43.91 kB / 0.5593 GB, free: 13.65 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.008989, allocations: 162.2 kB / 0.5595 GB, free: 13.46 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.009282, allocations: 90.73 kB / 0.5595 GB, free: 13.36 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.009284, allocations: 4 kB / 0.5595 GB, free: 13.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003881/0.009672, allocations: 145.4 kB / 0.5597 GB, free: 13.21 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.009688, allocations: 8 kB / 0.5597 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.009694, allocations: 4.062 kB / 0.5597 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.009707, allocations: 0 / 0.5597 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.009843, allocations: 19.92 kB / 0.5597 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.009851, allocations: 4 kB / 0.5597 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.009979, allocations: 15.98 kB / 0.5597 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.009995, allocations: 11.98 kB / 0.5597 GB, free: 13.14 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000117/0.01011, allocations: 130.1 kB / 0.5599 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.01018, allocations: 15.84 kB / 0.5599 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.01046, allocations: 93.92 kB / 0.56 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01046, allocations: 0 / 0.56 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.01046, allocations: 4 kB / 0.56 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.01047, allocations: 4 kB / 0.56 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.01073, allocations: 129.3 kB / 0.5601 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01073, allocations: 0 / 0.5601 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.01084, allocations: 19.97 kB / 0.5601 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.01084, allocations: 7.938 kB / 0.5601 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.01085, allocations: 0 / 0.5601 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.01085, allocations: 0 / 0.5601 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01085, allocations: 4 kB / 0.5601 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.01133, allocations: 373.9 kB / 0.5605 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.01134, allocations: 15.84 kB / 0.5605 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.01137, allocations: 4 kB / 0.5605 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.01158, allocations: 15.98 kB / 0.5605 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.042e-05/0.01165, allocations: 23.95 kB / 0.5605 GB, free: 12.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.01166, allocations: 11.92 kB / 0.5606 GB, free: 12.25 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.848e-05/0.01174, allocations: 110.6 kB / 0.5607 GB, free: 12.14 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01174, allocations: 3.938 kB / 0.5607 GB, free: 12.14 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003146/0.01206, allocations: 24 kB / 0.5607 GB, free: 12.11 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0001082/0.01216, allocations: 103.2 kB / 0.5608 GB, free: 12 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003921/0.01256, allocations: 95.86 kB / 0.5609 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01256, allocations: 0 / 0.5609 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.01274, allocations: 47.97 kB / 0.5609 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.01317, allocations: 11.94 kB / 0.5609 GB, free: 11.85 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.01359, allocations: 215.7 kB / 0.5611 GB, free: 11.61 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.974e-05/0.01368, allocations: 88.27 kB / 0.5612 GB, free: 11.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.386e-05/0.01376, allocations: 20.75 kB / 0.5612 GB, free: 11.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.01382, allocations: 24.5 kB / 0.5613 GB, free: 11.46 MB / 478.1 MB Notification: Performance of SimCode: time 3.3e-07/0.01382, allocations: 0 / 0.5613 GB, free: 11.46 MB / 478.1 MB Notification: Performance of Templates: time 0.004281/0.0181, allocations: 1.411 MB / 0.5627 GB, free: 10.08 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0475121438503265] Failed to read output from testmodel.py, exit status != 0: 0.025941751897335052 0.039968306 0.032962406 Calling exit ...