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.001093/0.001093, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.001165/0.001165, allocations: 173 kB / 24.25 MB, free: 304 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.003/1.003, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.6771/0.6771, allocations: 115 MB / 376 MB, free: 7.645 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 2.094e-06/2.094e-06, allocations: 0 / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.125e-05, allocations: 2.312 kB / 481.6 MB, free: 11.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001639/0.00167, allocations: 0.8526 MB / 482.4 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.00287, allocations: 1.226 MB / 483.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.133e-05/0.002931, allocations: 0 / 483.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.24e-05/0.002963, allocations: 7.875 kB / 483.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.097e-05/0.003044, allocations: 25.33 kB / 483.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.003485, allocations: 151.2 kB / 483.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.00367, allocations: 169.3 kB / 484 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.003787, allocations: 29.94 kB / 484 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.003914, allocations: 96.48 kB / 484.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.004006, allocations: 53.03 kB / 484.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.004035, allocations: 14.91 kB / 484.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.818e-05/0.004093, allocations: 33.02 kB / 484.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.00412, allocations: 27.83 kB / 484.3 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.615e-05/0.004176, allocations: 50.03 kB / 484.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.004342, allocations: 128.2 kB / 484.4 MB, free: 10.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004344, allocations: 4.531 kB / 484.4 MB, free: 10.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.004345, allocations: 0.6562 kB / 484.4 MB, free: 10.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.004349, allocations: 2.406 kB / 484.4 MB, free: 10.1 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.0005299/0.004879, allocations: 0.5112 MB / 484.9 MB, free: 9.602 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.004921, allocations: 12.44 kB / 485 MB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.765e-05/0.004989, allocations: 21.47 kB / 485 MB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.005283, allocations: 180.7 kB / 485.2 MB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.0053, allocations: 9.969 kB / 485.2 MB, free: 9.438 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.005335, allocations: 15.53 kB / 485.2 MB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.00548, allocations: 87.3 kB / 485.3 MB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.005488, allocations: 5.562 kB / 485.3 MB, free: 9.371 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.005502, allocations: 8.609 kB / 485.3 MB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.005512, allocations: 6.375 kB / 485.3 MB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.246e-05/0.005554, allocations: 17.66 kB / 485.3 MB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006311/0.006185, allocations: 365 kB / 485.7 MB, free: 25.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.418e-05/0.006229, allocations: 29.56 kB / 485.7 MB, free: 25.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.36e-05/0.006253, allocations: 19.5 kB / 485.7 MB, free: 25.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.00627, allocations: 2.656 kB / 485.7 MB, free: 25.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/0.00637, allocations: 82.22 kB / 485.8 MB, free: 24.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.006371, allocations: 1.188 kB / 485.8 MB, free: 24.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002035/0.006575, allocations: 106.4 kB / 485.9 MB, free: 24.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.0066, allocations: 54.41 kB / 486 MB, free: 24.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.675e-05/0.006697, allocations: 194 kB / 486.1 MB, free: 24.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.006714, allocations: 32.14 kB / 486.2 MB, free: 24.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.006775, allocations: 160.4 kB / 486.3 MB, free: 24.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.006792, allocations: 29.62 kB / 486.4 MB, free: 24.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/0.006849, allocations: 52.34 kB / 486.4 MB, free: 24.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.006946, allocations: 0.4945 MB / 486.9 MB, free: 23.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.007024, allocations: 67.48 kB / 487 MB, free: 23.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.511e-05/0.007119, allocations: 189.9 kB / 487.2 MB, free: 23.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.007243, allocations: 205.3 kB / 487.4 MB, free: 23.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.007245, allocations: 1.125 kB / 487.4 MB, free: 23.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002685/0.007514, allocations: 257.4 kB / 487.6 MB, free: 23.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.007536, allocations: 38.97 kB / 487.6 MB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.007541, allocations: 3.094 kB / 487.6 MB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.007549, allocations: 4.531 kB / 487.7 MB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.103e-05/0.00761, allocations: 24.55 kB / 487.7 MB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.007617, allocations: 6.812 kB / 487.7 MB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.312e-05/0.00771, allocations: 32.34 kB / 487.7 MB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.007727, allocations: 10.06 kB / 487.7 MB, free: 23.27 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 6.64e-05/0.007794, allocations: 179 kB / 487.9 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.007808, allocations: 14.91 kB / 487.9 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.156e-05/0.00783, allocations: 16.72 kB / 487.9 MB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007832, allocations: 1.25 kB / 487.9 MB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.007834, allocations: 0 / 487.9 MB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.007838, allocations: 1 kB / 487.9 MB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.008088, allocations: 377.5 kB / 488.3 MB, free: 22.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.008089, allocations: 0 / 488.3 MB, free: 22.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.008134, allocations: 15.39 kB / 488.3 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.008136, allocations: 2.375 kB / 488.3 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.008144, allocations: 3.938 kB / 488.3 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.008145, allocations: 3.938 kB / 488.3 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.008146, allocations: 0.7812 kB / 488.3 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.008299, allocations: 256 kB / 488.6 MB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.008307, allocations: 7.422 kB / 488.6 MB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.008319, allocations: 5.156 kB / 488.6 MB, free: 22.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.836e-05/0.008357, allocations: 13.08 kB / 488.6 MB, free: 22.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.008378, allocations: 7.562 kB / 488.6 MB, free: 22.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.008385, allocations: 10.56 kB / 488.6 MB, free: 22.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.723e-05/0.008442, allocations: 146 kB / 488.8 MB, free: 22.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008442, allocations: 0.5625 kB / 488.8 MB, free: 22.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001894/0.008632, allocations: 32.27 kB / 488.8 MB, free: 22.37 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 9.985e-05/0.008731, allocations: 107.8 kB / 488.9 MB, free: 22.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.008908, allocations: 179.3 kB / 489.1 MB, free: 22.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.00891, allocations: 6.531 kB / 489.1 MB, free: 22.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.745e-05/0.008947, allocations: 29.38 kB / 489.1 MB, free: 22.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.009116, allocations: 18.27 kB / 489.1 MB, free: 22.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.009439, allocations: 247.8 kB / 489.4 MB, free: 21.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.56e-05/0.009475, allocations: 72.22 kB / 489.4 MB, free: 21.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.117e-05/0.009516, allocations: 15.47 kB / 489.5 MB, free: 21.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/0.009542, allocations: 16.28 kB / 489.5 MB, free: 21.86 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.009542, allocations: 0.9375 kB / 489.5 MB, free: 21.86 MB / 426.7 MB Notification: Performance of Templates: time 0.003478/0.01302, allocations: 1.767 MB / 491.2 MB, free: 21.73 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.6643196931108832]