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.001157/0.001157, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001307/0.001307, allocations: 169.4 kB / 24.05 MB, free: 456 kB / 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 1.043/1.043, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 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.634/0.634, allocations: 115 MB / 376 MB, free: 7.516 MB / 346.7 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.723e-06/1.723e-06, allocations: 0 / 482 MB, free: 11.67 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.205e-05, allocations: 5.078 kB / 482 MB, free: 11.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001445/0.001467, allocations: 0.8566 MB / 482.9 MB, free: 11.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.00271, allocations: 1.223 MB / 484.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.928e-05/0.002769, allocations: 2.062 kB / 484.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.002801, allocations: 12.25 kB / 484.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.315e-05/0.002885, allocations: 16.03 kB / 484.1 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.0033, allocations: 151.6 kB / 484.3 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.00348, allocations: 171.4 kB / 484.5 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.003591, allocations: 25.41 kB / 484.5 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.003737, allocations: 109.6 kB / 484.6 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.956e-05/0.003836, allocations: 45.77 kB / 484.6 MB, free: 10.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.003863, allocations: 12.28 kB / 484.6 MB, free: 10.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.367e-05/0.003927, allocations: 24.08 kB / 484.7 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.003954, allocations: 19.42 kB / 484.7 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.831e-05/0.004002, allocations: 45.38 kB / 484.7 MB, free: 9.992 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.004154, allocations: 120.9 kB / 484.9 MB, free: 9.938 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.004157, allocations: 1.281 kB / 484.9 MB, free: 9.938 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004158, allocations: 0 / 484.9 MB, free: 9.938 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.004162, allocations: 0 / 484.9 MB, free: 9.938 MB / 410.7 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.0004887/0.00465, allocations: 0.5141 MB / 485.4 MB, free: 9.445 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.004692, allocations: 10.28 kB / 485.4 MB, free: 9.445 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.004736, allocations: 29.12 kB / 485.4 MB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.004874, allocations: 161.5 kB / 485.6 MB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.004894, allocations: 9.625 kB / 485.6 MB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.00492, allocations: 15.17 kB / 485.6 MB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.005051, allocations: 82.5 kB / 485.7 MB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.005059, allocations: 192 / 485.7 MB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.005067, allocations: 5.531 kB / 485.7 MB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.005074, allocations: 2.344 kB / 485.7 MB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.008e-05/0.005104, allocations: 22.42 kB / 485.7 MB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005657/0.005669, allocations: 335.5 kB / 486 MB, free: 24.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.519e-05/0.005715, allocations: 37.53 kB / 486.1 MB, free: 24.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.005734, allocations: 23.31 kB / 486.1 MB, free: 24.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.005754, allocations: 2.094 kB / 486.1 MB, free: 24.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.146e-05/0.005845, allocations: 74.45 kB / 486.2 MB, free: 24.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.005846, allocations: 0 / 486.2 MB, free: 24.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001746/0.006021, allocations: 99.3 kB / 486.3 MB, free: 24.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.006045, allocations: 58.22 kB / 486.3 MB, free: 24.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.932e-05/0.006134, allocations: 199.7 kB / 486.5 MB, free: 24.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.00615, allocations: 29.23 kB / 486.5 MB, free: 24.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.006209, allocations: 161.6 kB / 486.7 MB, free: 24.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.006225, allocations: 31.45 kB / 486.7 MB, free: 24.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.006281, allocations: 51.2 kB / 486.8 MB, free: 24.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.006384, allocations: 0.5011 MB / 487.3 MB, free: 23.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.524e-05/0.00644, allocations: 54.44 kB / 487.3 MB, free: 23.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.531e-05/0.006515, allocations: 181.4 kB / 487.5 MB, free: 23.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.006631, allocations: 208.4 kB / 487.7 MB, free: 23.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.006633, allocations: 0 / 487.7 MB, free: 23.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002174/0.006851, allocations: 242.3 kB / 487.9 MB, free: 23.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.006876, allocations: 33.67 kB / 488 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.006884, allocations: 2.625 kB / 488 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.006899, allocations: 7.328 kB / 488 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.313e-05/0.006972, allocations: 21.09 kB / 488 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.006977, allocations: 8.219 kB / 488 MB, free: 23.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.119e-05/0.007068, allocations: 37.08 kB / 488.1 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.007082, allocations: 13.06 kB / 488.1 MB, free: 23.14 MB / 426.7 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 7.353e-05/0.007156, allocations: 178.5 kB / 488.2 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.007171, allocations: 14.53 kB / 488.3 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.0072, allocations: 11.62 kB / 488.3 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.007203, allocations: 1.562 kB / 488.3 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.007205, allocations: 0 / 488.3 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.007209, allocations: 1.156 kB / 488.3 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.007463, allocations: 344 kB / 488.6 MB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.007464, allocations: 3.938 kB / 488.6 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.007507, allocations: 13.98 kB / 488.6 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.00751, allocations: 2.125 kB / 488.6 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.007518, allocations: 1.406 kB / 488.6 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.00752, allocations: 5.016 kB / 488.6 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007521, allocations: 1.094 kB / 488.6 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.007674, allocations: 247.9 kB / 488.9 MB, free: 22.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.007684, allocations: 10.09 kB / 488.9 MB, free: 22.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.007695, allocations: 5.594 kB / 488.9 MB, free: 22.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-05/0.007734, allocations: 4.156 kB / 488.9 MB, free: 22.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.007766, allocations: 14.95 kB / 488.9 MB, free: 22.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.007773, allocations: 10.38 kB / 488.9 MB, free: 22.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.241e-05/0.007825, allocations: 141.9 kB / 489.1 MB, free: 22.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007825, allocations: 1.094 kB / 489.1 MB, free: 22.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001858/0.008011, allocations: 31.42 kB / 489.1 MB, free: 22.28 MB / 426.7 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.0001178/0.008129, allocations: 109.9 kB / 489.2 MB, free: 22.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.008291, allocations: 173 kB / 489.4 MB, free: 22.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.008292, allocations: 1.969 kB / 489.4 MB, free: 22.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.46e-05/0.008327, allocations: 37.69 kB / 489.4 MB, free: 22.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.00851, allocations: 26.22 kB / 489.4 MB, free: 22.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.00885, allocations: 242.2 kB / 489.7 MB, free: 21.85 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.472e-05/0.008884, allocations: 69.25 kB / 489.7 MB, free: 21.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.973e-05/0.008924, allocations: 17 kB / 489.7 MB, free: 21.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.606e-05/0.00901, allocations: 103.9 kB / 489.9 MB, free: 21.71 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009011, allocations: 3.938 kB / 489.9 MB, free: 21.71 MB / 426.7 MB Notification: Performance of Templates: time 0.004/0.01301, allocations: 1.897 MB / 491.8 MB, free: 21.57 MB / 426.7 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.533636618871242]