Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.001278/0.001278, 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.001356/0.001356, allocations: 170.4 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.38/1.38, allocations: 177.1 MB / 203.5 MB, free: 9.152 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.8914/0.8914, allocations: 114 MB / 373.9 MB, free: 13.23 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.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.5546 GB, free: 2.633 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.803e-05, allocations: 9.438 kB / 0.5547 GB, free: 2.625 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001753/0.001781, allocations: 0.7012 MB / 0.5553 GB, free: 1.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.003425, allocations: 1.209 MB / 0.5565 GB, free: 0.707 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.003469, allocations: 4 kB / 0.5565 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.003496, allocations: 7.938 kB / 0.5565 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.723e-05/0.003573, allocations: 11.86 kB / 0.5565 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.00409, allocations: 150.9 kB / 0.5567 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.004253, allocations: 107.8 kB / 0.5568 GB, free: 444 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.515e-05/0.004338, allocations: 15.98 kB / 0.5568 GB, free: 428 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.004464, allocations: 67.83 kB / 0.5569 GB, free: 360 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.366e-05/0.004557, allocations: 39.92 kB / 0.5569 GB, free: 320 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.004589, allocations: 12 kB / 0.5569 GB, free: 308 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.575e-05/0.004665, allocations: 35.92 kB / 0.557 GB, free: 272 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.004687, allocations: 7.984 kB / 0.557 GB, free: 264 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.531e-05/0.004752, allocations: 35.91 kB / 0.557 GB, free: 228 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.004971, allocations: 135.6 kB / 0.5571 GB, free: 92 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.004973, allocations: 0 / 0.5571 GB, free: 92 kB / 462.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.004974, allocations: 0 / 0.5571 GB, free: 92 kB / 462.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.004978, allocations: 0 / 0.5571 GB, free: 92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005914/0.005569, allocations: 326.6 kB / 0.5574 GB, free: 15.73 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.005605, allocations: 12.62 kB / 0.5574 GB, free: 15.72 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.75e-05/0.005703, allocations: 16.89 kB / 0.5575 GB, free: 15.71 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.005807, allocations: 125.6 kB / 0.5576 GB, free: 15.56 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.005826, allocations: 8.312 kB / 0.5576 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.005848, allocations: 8.359 kB / 0.5576 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.006045, allocations: 70.2 kB / 0.5577 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.006055, allocations: 192 / 0.5577 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.006064, allocations: 384 / 0.5577 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.006071, allocations: 4.375 kB / 0.5577 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.006256, allocations: 43.89 kB / 0.5577 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.006678, allocations: 248.5 kB / 0.558 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.006841, allocations: 50.48 kB / 0.558 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.75e-05/0.006939, allocations: 28.92 kB / 0.558 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.006958, allocations: 0 / 0.558 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.007157, allocations: 91.25 kB / 0.5581 GB, free: 14.96 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.007158, allocations: 0 / 0.5581 GB, free: 14.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.000454/0.007612, allocations: 145.6 kB / 0.5583 GB, free: 14.81 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.007658, allocations: 51.41 kB / 0.5583 GB, free: 14.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.228e-05/0.00775, allocations: 113.8 kB / 0.5584 GB, free: 14.62 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.007782, allocations: 29.7 kB / 0.5584 GB, free: 14.59 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.00784, allocations: 92.08 kB / 0.5585 GB, free: 14.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.007866, allocations: 19.84 kB / 0.5585 GB, free: 14.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.547e-05/0.007942, allocations: 37.7 kB / 0.5586 GB, free: 14.43 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.008078, allocations: 318.8 kB / 0.5589 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.008256, allocations: 81.66 kB / 0.559 GB, free: 14.03 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.008448, allocations: 105.1 kB / 0.5591 GB, free: 13.91 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.008736, allocations: 129 kB / 0.5592 GB, free: 13.76 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.008738, allocations: 0 / 0.5592 GB, free: 13.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004707/0.009209, allocations: 240.8 kB / 0.5594 GB, free: 13.51 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.009248, allocations: 33.69 kB / 0.5594 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.009252, allocations: 4 kB / 0.5595 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.009267, allocations: 480 / 0.5595 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.116e-05/0.009358, allocations: 11.98 kB / 0.5595 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.009365, allocations: 4 kB / 0.5595 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.009568, allocations: 39.89 kB / 0.5595 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.009587, allocations: 4 kB / 0.5595 GB, free: 13.41 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.0001045/0.009692, allocations: 134.8 kB / 0.5596 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.009707, allocations: 7.891 kB / 0.5596 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.01001, allocations: 122 kB / 0.5598 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01001, allocations: 0 / 0.5598 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.01002, allocations: 0 / 0.5598 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.01002, allocations: 0 / 0.5598 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/0.01043, allocations: 302.1 kB / 0.5601 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01043, allocations: 4 kB / 0.5601 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.262e-05/0.01049, allocations: 15.98 kB / 0.5601 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.0105, allocations: 0 / 0.5601 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-06/0.0105, allocations: 0 / 0.5601 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.01051, allocations: 3.984 kB / 0.5601 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.01051, allocations: 4 kB / 0.5601 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.01083, allocations: 207.8 kB / 0.5603 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.01084, allocations: 4.047 kB / 0.5603 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.01086, allocations: 7.984 kB / 0.5603 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.01094, allocations: 7.984 kB / 0.5603 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.01098, allocations: 11.94 kB / 0.5603 GB, free: 12.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.011, allocations: 7.984 kB / 0.5603 GB, free: 12.52 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.806e-05/0.01104, allocations: 83.28 kB / 0.5604 GB, free: 12.44 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01104, allocations: 4 kB / 0.5604 GB, free: 12.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.01129, allocations: 19.94 kB / 0.5604 GB, free: 12.41 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000155/0.01145, allocations: 107.2 kB / 0.5605 GB, free: 12.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003864/0.01184, allocations: 185 kB / 0.5607 GB, free: 12.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01184, allocations: 0 / 0.5607 GB, free: 12.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.01196, allocations: 36.03 kB / 0.5607 GB, free: 12.06 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.01222, allocations: 20.2 kB / 0.5607 GB, free: 12.04 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.01258, allocations: 163.8 kB / 0.5609 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.538e-05/0.01264, allocations: 71.47 kB / 0.561 GB, free: 11.77 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.87e-05/0.01267, allocations: 7.984 kB / 0.561 GB, free: 11.76 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.0127, allocations: 12.5 kB / 0.561 GB, free: 11.75 MB / 478.1 MB Notification: Performance of SimCode: time 3.01e-07/0.0127, allocations: 0 / 0.561 GB, free: 11.75 MB / 478.1 MB Notification: Performance of Templates: time 0.004173/0.01687, allocations: 1.506 MB / 0.5625 GB, free: 10.29 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.019233342260122] Failed to read output from testmodel.py, exit status != 0: 0.02507181093096733 0.040110212 0.03223977 Calling exit ...