Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.001261/0.001261, allocations: 78.73 kB / 19.93 MB, free: 1.77 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.001422/0.001422, allocations: 169.9 kB / 23.22 MB, free: 4.887 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.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.8906/0.8906, allocations: 114 MB / 373.9 MB, free: 13.24 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.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.5547 GB, free: 2.574 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.772e-05, allocations: 6.219 kB / 0.5547 GB, free: 2.566 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001876/0.001904, allocations: 0.8382 MB / 0.5556 GB, free: 1.742 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.003487, allocations: 1.197 MB / 0.5567 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.17e-05/0.003548, allocations: 0 / 0.5567 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.424e-05/0.003593, allocations: 15.86 kB / 0.5567 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.613e-05/0.003669, allocations: 15.86 kB / 0.5568 GB, free: 0.5 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005234/0.004192, allocations: 158.3 kB / 0.5569 GB, free: 356 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.00441, allocations: 167.5 kB / 0.5571 GB, free: 188 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.293e-05/0.004503, allocations: 29.28 kB / 0.5571 GB, free: 160 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.004631, allocations: 91.86 kB / 0.5572 GB, free: 68 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.004746, allocations: 55.84 kB / 0.5572 GB, free: 12 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.004777, allocations: 12 kB / 0.5573 GB, free: 0 / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.917e-05/0.004856, allocations: 27.98 kB / 0.5573 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.973e-05/0.004886, allocations: 23.91 kB / 0.5573 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.245e-05/0.004959, allocations: 59.83 kB / 0.5574 GB, free: 15.89 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.005204, allocations: 187.4 kB / 0.5575 GB, free: 15.71 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.005205, allocations: 4 kB / 0.5575 GB, free: 15.7 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005206, allocations: 0 / 0.5575 GB, free: 15.7 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.005213, allocations: 0 / 0.5575 GB, free: 15.7 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006462/0.00586, allocations: 408.7 kB / 0.5579 GB, free: 15.26 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.739e-05/0.005887, allocations: 16.61 kB / 0.5579 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.005941, allocations: 24.83 kB / 0.558 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005141/0.006455, allocations: 193.7 kB / 0.5582 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.006467, allocations: 4.375 kB / 0.5582 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.006505, allocations: 20.33 kB / 0.5582 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.006708, allocations: 90.14 kB / 0.5583 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-06/0.006714, allocations: 4.125 kB / 0.5583 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.006727, allocations: 8.375 kB / 0.5583 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.006732, allocations: 8.109 kB / 0.5583 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.006914, allocations: 43.97 kB / 0.5583 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00059/0.007504, allocations: 304.2 kB / 0.5586 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.007621, allocations: 38.55 kB / 0.5587 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.146e-05/0.007713, allocations: 24.97 kB / 0.5587 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.007723, allocations: 0 / 0.5587 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.007949, allocations: 103.2 kB / 0.5588 GB, free: 14.31 MB / 478.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.007951, allocations: 0 / 0.5588 GB, free: 14.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=10): time 0.000399/0.00835, allocations: 133.5 kB / 0.5589 GB, free: 14.17 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.008403, allocations: 55.41 kB / 0.559 GB, free: 14.11 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.008521, allocations: 141.8 kB / 0.5591 GB, free: 13.96 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.00856, allocations: 29.7 kB / 0.5591 GB, free: 13.92 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.409e-05/0.008634, allocations: 112 kB / 0.5592 GB, free: 13.81 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.008664, allocations: 35.86 kB / 0.5593 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.122e-05/0.008746, allocations: 49.69 kB / 0.5593 GB, free: 13.72 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.008897, allocations: 326.8 kB / 0.5596 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.009075, allocations: 73.67 kB / 0.5597 GB, free: 13.31 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.009321, allocations: 172.8 kB / 0.5599 GB, free: 13.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.009664, allocations: 200.6 kB / 0.56 GB, free: 12.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.009666, allocations: 0 / 0.56 GB, free: 12.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005375/0.0102, allocations: 276.6 kB / 0.5603 GB, free: 12.57 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/0.01024, allocations: 37.7 kB / 0.5603 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01025, allocations: 4 kB / 0.5603 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.01026, allocations: 4 kB / 0.5604 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.01037, allocations: 24.3 kB / 0.5604 GB, free: 12.49 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.01038, allocations: 11.98 kB / 0.5604 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.01061, allocations: 40.23 kB / 0.5604 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.01064, allocations: 12 kB / 0.5604 GB, free: 12.43 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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.0001215/0.01076, allocations: 142.7 kB / 0.5606 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.01078, allocations: 7.953 kB / 0.5606 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.01081, allocations: 12.72 kB / 0.5606 GB, free: 12.26 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01081, allocations: 4 kB / 0.5606 GB, free: 12.26 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.01081, allocations: 0 / 0.5606 GB, free: 12.26 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.01082, allocations: 11.98 kB / 0.5606 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005507/0.01137, allocations: 338 kB / 0.5609 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01137, allocations: 0 / 0.5609 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.387e-05/0.01146, allocations: 15.98 kB / 0.5609 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.01147, allocations: 0 / 0.5609 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.01147, allocations: 0 / 0.5609 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01148, allocations: 3.938 kB / 0.5609 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01148, allocations: 4 kB / 0.561 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/0.01192, allocations: 247.3 kB / 0.5612 GB, free: 11.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.01193, allocations: 7.953 kB / 0.5612 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.01195, allocations: 144 / 0.5612 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.301e-05/0.01204, allocations: 8.031 kB / 0.5612 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.01207, allocations: 15.97 kB / 0.5612 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.01209, allocations: 7.938 kB / 0.5612 GB, free: 11.56 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.062e-05/0.01216, allocations: 108.9 kB / 0.5613 GB, free: 11.45 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01216, allocations: 7.938 kB / 0.5613 GB, free: 11.45 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.01244, allocations: 32 kB / 0.5614 GB, free: 11.41 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001554/0.01259, allocations: 99.23 kB / 0.5615 GB, free: 11.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003877/0.01298, allocations: 196.9 kB / 0.5617 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01298, allocations: 4.688 kB / 0.5617 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.0131, allocations: 36.16 kB / 0.5617 GB, free: 11.05 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.01337, allocations: 25.31 kB / 0.5617 GB, free: 11.03 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.01384, allocations: 245.7 kB / 0.5619 GB, free: 10.77 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.568e-05/0.01392, allocations: 97.61 kB / 0.562 GB, free: 10.65 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.563e-05/0.01398, allocations: 16.64 kB / 0.5621 GB, free: 10.64 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.01401, allocations: 16.5 kB / 0.5621 GB, free: 10.62 MB / 478.1 MB Notification: Performance of SimCode: time 2.9e-07/0.01401, allocations: 0 / 0.5621 GB, free: 10.62 MB / 478.1 MB Notification: Performance of Templates: time 0.004595/0.01861, allocations: 1.75 MB / 0.5638 GB, free: 8.938 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.037052176892757] Failed to read output from testmodel.py, exit status != 0: 0.026575300842523575 0.040374318 0.032193374000000004 Calling exit ...