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.001189/0.001189, allocations: 96.2 kB / 20.43 MB, free: 4.133 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.001344/0.001344, 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 1.089/1.089, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.6605/0.6605, allocations: 114.9 MB / 375.7 MB, free: 7.641 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.803e-06/1.803e-06, allocations: 0 / 481.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.933e-05, allocations: 5.062 kB / 481.6 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001816/0.001845, allocations: 1.023 MB / 482.6 MB, free: 11.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.003175, allocations: 1.06 MB / 483.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.003307, allocations: 3.344 kB / 483.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.003464, allocations: 22.27 kB / 483.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.2e-05/0.003526, allocations: 24.25 kB / 483.7 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.003856, allocations: 73.23 kB / 483.8 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.004049, allocations: 179 kB / 484 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.004215, allocations: 61.72 kB / 484 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.004354, allocations: 104 kB / 484.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.483e-05/0.004449, allocations: 60.36 kB / 484.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.004482, allocations: 16.41 kB / 484.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.53e-05/0.004548, allocations: 19.56 kB / 484.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.513e-05/0.004583, allocations: 36.36 kB / 484.3 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.479e-05/0.004638, allocations: 54.78 kB / 484.3 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.004857, allocations: 132.4 kB / 484.4 MB, free: 10.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.004859, allocations: 0.625 kB / 484.4 MB, free: 10.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.004861, allocations: 1.875 kB / 484.4 MB, free: 10.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.004866, allocations: 0 / 484.4 MB, free: 10.08 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.000615/0.005481, allocations: 0.5061 MB / 485 MB, free: 9.621 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.005532, allocations: 10.69 kB / 485 MB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.00568, allocations: 36.97 kB / 485 MB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.005921, allocations: 176.1 kB / 485.2 MB, free: 9.438 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.005948, allocations: 11.81 kB / 485.2 MB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.005992, allocations: 20.25 kB / 485.2 MB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.006236, allocations: 156.7 kB / 485.4 MB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.006244, allocations: 192 / 485.4 MB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.006261, allocations: 10.31 kB / 485.4 MB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.006271, allocations: 6.188 kB / 485.4 MB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.42e-05/0.006365, allocations: 55.77 kB / 485.4 MB, free: 9.312 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008712/0.007237, allocations: 478.5 kB / 485.9 MB, free: 24.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.007505, allocations: 112 kB / 486 MB, free: 24.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.871e-05/0.007574, allocations: 49.97 kB / 486 MB, free: 24.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.007601, allocations: 4.281 kB / 486.1 MB, free: 24.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/0.007735, allocations: 124.9 kB / 486.2 MB, free: 24.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.007737, allocations: 0 / 486.2 MB, free: 24.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002666/0.008004, allocations: 153.8 kB / 486.3 MB, free: 24.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/0.008024, allocations: 52.78 kB / 486.4 MB, free: 24.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.768e-05/0.008122, allocations: 207.2 kB / 486.6 MB, free: 24.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.008139, allocations: 31.02 kB / 486.6 MB, free: 24.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.008199, allocations: 170.6 kB / 486.8 MB, free: 24.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.008236, allocations: 65.92 kB / 486.8 MB, free: 24.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.008287, allocations: 45.7 kB / 486.9 MB, free: 24.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.008398, allocations: 0.4984 MB / 487.4 MB, free: 23.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.653e-05/0.008484, allocations: 33.34 kB / 487.4 MB, free: 23.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.575e-05/0.00856, allocations: 64.42 kB / 487.5 MB, free: 23.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.008694, allocations: 95.42 kB / 487.6 MB, free: 23.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.008697, allocations: 1.5 kB / 487.6 MB, free: 23.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002088/0.008906, allocations: 149.8 kB / 487.7 MB, free: 23.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.008922, allocations: 5.562 kB / 487.7 MB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.008928, allocations: 2.969 kB / 487.7 MB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.008948, allocations: 1.25 kB / 487.7 MB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.009063, allocations: 38.84 kB / 487.8 MB, free: 23.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.009072, allocations: 5.281 kB / 487.8 MB, free: 23.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.538e-05/0.009127, allocations: 18.64 kB / 487.8 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.009141, allocations: 9.844 kB / 487.8 MB, free: 23.52 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 8.976e-05/0.009231, allocations: 171.8 kB / 488 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.009256, allocations: 19.53 kB / 488 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.009459, allocations: 146.8 kB / 488.1 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.009462, allocations: 2.844 kB / 488.1 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.009467, allocations: 0.5938 kB / 488.1 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.009473, allocations: 4.547 kB / 488.1 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005105/0.009983, allocations: 0.5185 MB / 488.7 MB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.009987, allocations: 2.75 kB / 488.7 MB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.0101, allocations: 35.84 kB / 488.7 MB, free: 22.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.0101, allocations: 3.469 kB / 488.7 MB, free: 22.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.01012, allocations: 3.812 kB / 488.7 MB, free: 22.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.01013, allocations: 6.656 kB / 488.7 MB, free: 22.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.01013, allocations: 6.594 kB / 488.7 MB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.01046, allocations: 371.1 kB / 489.1 MB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.01048, allocations: 13.91 kB / 489.1 MB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.01051, allocations: 7.094 kB / 489.1 MB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.481e-05/0.01057, allocations: 14.84 kB / 489.1 MB, free: 22.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.01063, allocations: 22.77 kB / 489.1 MB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.01064, allocations: 5.969 kB / 489.1 MB, free: 22.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.674e-05/0.0107, allocations: 151.5 kB / 489.3 MB, free: 22.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0107, allocations: 0 / 489.3 MB, free: 22.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.01089, allocations: 37.3 kB / 489.3 MB, free: 22.35 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 9.729e-05/0.01099, allocations: 111.5 kB / 489.4 MB, free: 22.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.01118, allocations: 104.2 kB / 489.5 MB, free: 22.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01118, allocations: 3.938 kB / 489.5 MB, free: 22.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.005e-05/0.01125, allocations: 63.92 kB / 489.6 MB, free: 22.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.01151, allocations: 29.84 kB / 489.6 MB, free: 22.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006782/0.01218, allocations: 383.8 kB / 490 MB, free: 21.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.666e-05/0.01223, allocations: 74.81 kB / 490.1 MB, free: 21.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.79e-05/0.01228, allocations: 20.25 kB / 490.1 MB, free: 21.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/0.01233, allocations: 17.78 kB / 490.1 MB, free: 21.79 MB / 426.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01233, allocations: 0 / 490.1 MB, free: 21.79 MB / 426.7 MB Notification: Performance of Templates: time 0.003731/0.01606, allocations: 1.748 MB / 491.9 MB, free: 21.67 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: 4.023302777204663]