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.001186/0.001186, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001255/0.001255, allocations: 172.7 kB / 24.84 MB, free: 8.867 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.035/1.035, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.6794/0.6794, allocations: 115 MB / 376.8 MB, free: 7.48 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.713e-06/1.713e-06, allocations: 0 / 482.8 MB, free: 11.65 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.87e-05, allocations: 5.812 kB / 482.8 MB, free: 11.65 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001558/0.001586, allocations: 1.007 MB / 483.8 MB, free: 11.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009428/0.002529, allocations: 1.061 MB / 484.9 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.022e-05/0.002619, allocations: 2.281 kB / 484.9 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.002725, allocations: 20.67 kB / 484.9 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.504e-05/0.00277, allocations: 19.31 kB / 485 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.002977, allocations: 76.89 kB / 485 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.003117, allocations: 184.1 kB / 485.2 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.003232, allocations: 56.78 kB / 485.3 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.003339, allocations: 101.1 kB / 485.4 MB, free: 10.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.786e-05/0.003417, allocations: 59.66 kB / 485.4 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.003442, allocations: 17.56 kB / 485.4 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.768e-05/0.003489, allocations: 22.22 kB / 485.5 MB, free: 10 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.758e-05/0.003517, allocations: 37.11 kB / 485.5 MB, free: 9.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.003555, allocations: 51.05 kB / 485.5 MB, free: 9.953 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.003692, allocations: 132.8 kB / 485.7 MB, free: 9.879 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.003695, allocations: 0.9688 kB / 485.7 MB, free: 9.879 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003695, allocations: 4.688 kB / 485.7 MB, free: 9.875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.003699, allocations: 0 / 485.7 MB, free: 9.875 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.0004392/0.004139, allocations: 0.5099 MB / 486.2 MB, free: 9.414 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.004171, allocations: 10.16 kB / 486.2 MB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.415e-05/0.004265, allocations: 34.73 kB / 486.2 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.004402, allocations: 165.7 kB / 486.4 MB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.00442, allocations: 14.66 kB / 486.4 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.004444, allocations: 17 kB / 486.4 MB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.004594, allocations: 147.2 kB / 486.6 MB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.004603, allocations: 1.344 kB / 486.6 MB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.004614, allocations: 13.41 kB / 486.6 MB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.004621, allocations: 3.688 kB / 486.6 MB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.549e-05/0.004676, allocations: 42.48 kB / 486.6 MB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006011/0.005277, allocations: 454.7 kB / 487.1 MB, free: 24.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.00545, allocations: 108 kB / 487.2 MB, free: 24.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.359e-05/0.005494, allocations: 46.78 kB / 487.2 MB, free: 24.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.005512, allocations: 4.188 kB / 487.2 MB, free: 24.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.878e-05/0.005601, allocations: 117.6 kB / 487.3 MB, free: 24.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 1.262e-06/0.005602, allocations: 0 / 487.3 MB, free: 24.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0001837/0.005785, allocations: 139.8 kB / 487.5 MB, free: 24.56 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.696e-05/0.005802, allocations: 56.88 kB / 487.5 MB, free: 24.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.732e-05/0.00588, allocations: 204.4 kB / 487.7 MB, free: 24.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.005893, allocations: 29.7 kB / 487.8 MB, free: 24.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.005942, allocations: 165.8 kB / 487.9 MB, free: 24.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.005973, allocations: 74.67 kB / 488 MB, free: 24.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.006017, allocations: 48.31 kB / 488 MB, free: 24.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.61e-05/0.006103, allocations: 0.4967 MB / 488.5 MB, free: 23.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.737e-05/0.00616, allocations: 24.64 kB / 488.6 MB, free: 23.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.692e-05/0.006207, allocations: 54.19 kB / 488.6 MB, free: 23.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.01e-05/0.006287, allocations: 85.77 kB / 488.7 MB, free: 23.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.006289, allocations: 0 / 488.7 MB, free: 23.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00014/0.006429, allocations: 143.1 kB / 488.8 MB, free: 23.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.00644, allocations: 7.062 kB / 488.8 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.006444, allocations: 0 / 488.8 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.096e-06/0.006452, allocations: 2.594 kB / 488.9 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/0.006549, allocations: 33.77 kB / 488.9 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.006551, allocations: 7.016 kB / 488.9 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.653e-05/0.006598, allocations: 22.42 kB / 488.9 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.006607, allocations: 11.88 kB / 488.9 MB, free: 23.37 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 6.923e-05/0.006677, allocations: 161.7 kB / 489.1 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.006696, allocations: 24.91 kB / 489.1 MB, free: 23.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.006844, allocations: 136.5 kB / 489.2 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.006847, allocations: 2.938 kB / 489.2 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.006848, allocations: 1.469 kB / 489.2 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.006852, allocations: 0 / 489.2 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.007202, allocations: 495.9 kB / 489.7 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.007204, allocations: 2.656 kB / 489.7 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.732e-05/0.007291, allocations: 29.11 kB / 489.8 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.007294, allocations: 2.906 kB / 489.8 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.007306, allocations: 11.62 kB / 489.8 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.007308, allocations: 6.938 kB / 489.8 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.007311, allocations: 2.188 kB / 489.8 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.007531, allocations: 359.1 kB / 490.1 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.007544, allocations: 18.47 kB / 490.2 MB, free: 22.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.007559, allocations: 2.906 kB / 490.2 MB, free: 22.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.406e-05/0.007623, allocations: 14.75 kB / 490.2 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.007663, allocations: 25.62 kB / 490.2 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.007672, allocations: 7.531 kB / 490.2 MB, free: 22.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.984e-05/0.007722, allocations: 152.7 kB / 490.3 MB, free: 22.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007722, allocations: 3.938 kB / 490.4 MB, free: 22.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000179/0.007901, allocations: 36.55 kB / 490.4 MB, free: 22.25 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 7.001e-05/0.007971, allocations: 102.8 kB / 490.5 MB, free: 22.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.00811, allocations: 93.16 kB / 490.6 MB, free: 22.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.008111, allocations: 0.9062 kB / 490.6 MB, free: 22.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.854e-05/0.008169, allocations: 58.58 kB / 490.6 MB, free: 22.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.008387, allocations: 35.98 kB / 490.7 MB, free: 22.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.008939, allocations: 376.9 kB / 491 MB, free: 21.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.691e-05/0.008986, allocations: 76 kB / 491.1 MB, free: 21.72 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.082e-05/0.009037, allocations: 15.23 kB / 491.1 MB, free: 21.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.009138, allocations: 101.6 kB / 491.2 MB, free: 21.64 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/0.009138, allocations: 0 / 491.2 MB, free: 21.64 MB / 426.7 MB Notification: Performance of Templates: time 0.00373/0.01287, allocations: 1.951 MB / 493.2 MB, free: 21.48 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.7012054487131536]