Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.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.001067/0.001067, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001007/0.001007, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 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 0.9137/0.9137, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.5836/0.5836, allocations: 115 MB / 375.7 MB, free: 7.66 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.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 481.6 MB, free: 11.81 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.482e-05, allocations: 2.312 kB / 481.6 MB, free: 11.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001333/0.001347, allocations: 1.03 MB / 482.6 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009026/0.00225, allocations: 1.056 MB / 483.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.183e-05/0.002342, allocations: 3.375 kB / 483.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.002457, allocations: 22.81 kB / 483.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.768e-05/0.002515, allocations: 21.33 kB / 483.7 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.002755, allocations: 81.98 kB / 483.8 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.002897, allocations: 178.6 kB / 484 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.003013, allocations: 54.02 kB / 484 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.003118, allocations: 107.3 kB / 484.1 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.069e-05/0.003189, allocations: 58.7 kB / 484.2 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.003217, allocations: 15.56 kB / 484.2 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.057e-05/0.003267, allocations: 24.09 kB / 484.2 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.771e-05/0.003295, allocations: 38.56 kB / 484.3 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.003336, allocations: 54.45 kB / 484.3 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.0035, allocations: 128.2 kB / 484.4 MB, free: 10.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003502, allocations: 1.719 kB / 484.4 MB, free: 10.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.003503, allocations: 0 / 484.4 MB, free: 10.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.003507, allocations: 4.75 kB / 484.4 MB, free: 10.03 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005032/0.00401, allocations: 0.5026 MB / 485 MB, free: 9.574 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.004045, allocations: 9.375 kB / 485 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.004154, allocations: 38.02 kB / 485 MB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.004326, allocations: 163.5 kB / 485.2 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.004349, allocations: 16.72 kB / 485.2 MB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.004374, allocations: 14.97 kB / 485.2 MB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.004575, allocations: 160.4 kB / 485.3 MB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.004584, allocations: 192 / 485.3 MB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.004598, allocations: 11.94 kB / 485.4 MB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.004607, allocations: 3.938 kB / 485.4 MB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.66e-05/0.004694, allocations: 56.73 kB / 485.4 MB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/0.005253, allocations: 487.1 kB / 485.9 MB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.005476, allocations: 101.5 kB / 486 MB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.957e-05/0.005535, allocations: 50.39 kB / 486 MB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.005556, allocations: 6.547 kB / 486 MB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/0.005657, allocations: 127.5 kB / 486.2 MB, free: 8.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.172e-06/0.005659, allocations: 1.062 kB / 486.2 MB, free: 8.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002366/0.005895, allocations: 155.8 kB / 486.3 MB, free: 8.668 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.005914, allocations: 54.03 kB / 486.4 MB, free: 8.605 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.954e-05/0.005984, allocations: 207.4 kB / 486.6 MB, free: 8.426 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.005998, allocations: 33.58 kB / 486.6 MB, free: 8.391 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.006037, allocations: 160.6 kB / 486.8 MB, free: 8.238 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.00607, allocations: 72.58 kB / 486.8 MB, free: 8.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.006113, allocations: 50.03 kB / 486.9 MB, free: 8.141 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.006334, allocations: 0.4941 MB / 487.4 MB, free: 23.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.749e-05/0.006411, allocations: 33.97 kB / 487.4 MB, free: 23.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.002e-05/0.006471, allocations: 57.95 kB / 487.5 MB, free: 23.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.006573, allocations: 92.7 kB / 487.6 MB, free: 23.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.006575, allocations: 3.938 kB / 487.6 MB, free: 23.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001664/0.006742, allocations: 151.5 kB / 487.7 MB, free: 23.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.006754, allocations: 9.625 kB / 487.7 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.006759, allocations: 0.5 kB / 487.7 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.006773, allocations: 4.344 kB / 487.7 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.844e-05/0.006872, allocations: 35.05 kB / 487.8 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.006877, allocations: 1.562 kB / 487.8 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.006924, allocations: 22.09 kB / 487.8 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.006934, allocations: 5 kB / 487.8 MB, free: 23.47 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 7.344e-05/0.007007, allocations: 174.1 kB / 488 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.007027, allocations: 22.53 kB / 488 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.007194, allocations: 144.5 kB / 488.1 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.007196, allocations: 1.469 kB / 488.1 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.0072, allocations: 4.984 kB / 488.1 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.007204, allocations: 1.719 kB / 488.1 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.007621, allocations: 0.5193 MB / 488.7 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.007624, allocations: 1.344 kB / 488.7 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.407e-05/0.007718, allocations: 36.64 kB / 488.7 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.007723, allocations: 4.188 kB / 488.7 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.007739, allocations: 12.19 kB / 488.7 MB, free: 22.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.007743, allocations: 2.625 kB / 488.7 MB, free: 22.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.007747, allocations: 5 kB / 488.7 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.008049, allocations: 368.7 kB / 489.1 MB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.927e-05/0.008068, allocations: 17.77 kB / 489.1 MB, free: 22.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.008089, allocations: 8.219 kB / 489.1 MB, free: 22.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.41e-05/0.008153, allocations: 17.22 kB / 489.1 MB, free: 22.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.008214, allocations: 18.77 kB / 489.1 MB, free: 22.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.008227, allocations: 13.78 kB / 489.1 MB, free: 22.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.692e-05/0.008314, allocations: 147.1 kB / 489.3 MB, free: 22.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008314, allocations: 0 / 489.3 MB, free: 22.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000217/0.008531, allocations: 37.05 kB / 489.3 MB, free: 22.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001048/0.008636, allocations: 102.9 kB / 489.4 MB, free: 22.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.008842, allocations: 110.3 kB / 489.5 MB, free: 22.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008843, allocations: 0 / 489.5 MB, free: 22.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.341e-05/0.008917, allocations: 63.11 kB / 489.6 MB, free: 22.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.009137, allocations: 30.38 kB / 489.6 MB, free: 22.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.009703, allocations: 384.8 kB / 490 MB, free: 21.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.189e-05/0.009745, allocations: 73.84 kB / 490.1 MB, free: 21.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.527e-05/0.00979, allocations: 19.56 kB / 490.1 MB, free: 21.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.009835, allocations: 21.91 kB / 490.1 MB, free: 21.75 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009836, allocations: 5.688 kB / 490.1 MB, free: 21.74 MB / 426.7 MB Notification: Performance of Templates: time 0.003786/0.01362, allocations: 1.821 MB / 491.9 MB, free: 21.61 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.549719326198101]