Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.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.000914/0.000914, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00151/0.002424, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.0008765/0.0008765, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001152/0.002029, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.065/1.065, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08399/1.149, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6141/0.6141, allocations: 120.1 MB / 364.2 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07027/0.6843, allocations: 38.16 MB / 402.4 MB, free: 12.27 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.93e-05, allocations: 2.312 kB / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.0016/0.00162, allocations: 1.356 MB / 405 MB, free: 9.609 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002621/0.004241, allocations: 3.386 MB / 408.4 MB, free: 6.207 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.004267, allocations: 0 / 408.4 MB, free: 6.207 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 8.947e-06/0.004276, allocations: 0 / 408.4 MB, free: 6.207 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.697e-05/0.004303, allocations: 11.92 kB / 408.4 MB, free: 6.195 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.004613, allocations: 103.4 kB / 408.5 MB, free: 6.094 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.854e-05/0.004671, allocations: 39.84 kB / 408.6 MB, free: 6.055 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.787e-05/0.004699, allocations: 4 kB / 408.6 MB, free: 6.051 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.257e-05/0.004752, allocations: 31.89 kB / 408.6 MB, free: 6.02 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.189e-05/0.004804, allocations: 11.98 kB / 408.6 MB, free: 6.008 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.004813, allocations: 0 / 408.6 MB, free: 6.008 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.004969, allocations: 79.69 kB / 408.7 MB, free: 5.93 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.004983, allocations: 4 kB / 408.7 MB, free: 5.926 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.453e-05/0.004997, allocations: 8 kB / 408.7 MB, free: 5.918 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.00512, allocations: 67.75 kB / 408.8 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.005129, allocations: 0 / 408.8 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.00513, allocations: 0 / 408.8 MB, free: 5.852 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.005138, allocations: 0 / 408.8 MB, free: 5.852 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002095/0.005347, allocations: 252.6 kB / 409 MB, free: 5.582 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.096e-05/0.005368, allocations: 12.03 kB / 409 MB, free: 5.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.521e-05/0.005444, allocations: 89.97 kB / 409.1 MB, free: 5.465 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.394e-05/0.005488, allocations: 113.8 kB / 409.2 MB, free: 5.328 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-06/0.005493, allocations: 4.375 kB / 409.2 MB, free: 5.324 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.005508, allocations: 8.359 kB / 409.3 MB, free: 5.316 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.554e-05/0.005584, allocations: 127.3 kB / 409.4 MB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.558e-06/0.005588, allocations: 192 / 409.4 MB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.005596, allocations: 4.125 kB / 409.4 MB, free: 5.164 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.005599, allocations: 0 / 409.4 MB, free: 5.164 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.809e-05/0.005627, allocations: 15.92 kB / 409.4 MB, free: 5.148 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.328e-05/0.005701, allocations: 72.97 kB / 409.5 MB, free: 5.062 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.45e-05/0.005755, allocations: 42.62 kB / 409.5 MB, free: 5.012 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.43e-05/0.005769, allocations: 20.86 kB / 409.5 MB, free: 4.988 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003802/0.00615, allocations: 212.3 kB / 409.7 MB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.006171, allocations: 46.44 kB / 409.8 MB, free: 4.711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.006172, allocations: 0 / 409.8 MB, free: 4.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003917/0.006564, allocations: 229.2 kB / 410 MB, free: 4.453 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.006585, allocations: 51.41 kB / 410.1 MB, free: 4.391 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.587e-05/0.006631, allocations: 110.6 kB / 410.2 MB, free: 4.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.00664, allocations: 25.7 kB / 410.2 MB, free: 4.238 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.006672, allocations: 92.08 kB / 410.3 MB, free: 4.145 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.006685, allocations: 23.75 kB / 410.3 MB, free: 4.121 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.006713, allocations: 29.69 kB / 410.3 MB, free: 4.086 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.433e-05/0.006777, allocations: 318.8 kB / 410.6 MB, free: 3.766 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.665e-06/0.006785, allocations: 4 kB / 410.6 MB, free: 3.762 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.685e-05/0.006821, allocations: 53.08 kB / 410.7 MB, free: 3.691 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.763e-05/0.006869, allocations: 73.05 kB / 410.8 MB, free: 3.602 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.00687, allocations: 4 kB / 410.8 MB, free: 3.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 6.946e-05/0.00694, allocations: 82.09 kB / 410.9 MB, free: 3.512 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.006949, allocations: 4 kB / 410.9 MB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.006954, allocations: 4 kB / 410.9 MB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.006962, allocations: 0 / 410.9 MB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.723e-05/0.00701, allocations: 27.92 kB / 410.9 MB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.007014, allocations: 11.94 kB / 410.9 MB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.81e-05/0.007033, allocations: 4.125 kB / 410.9 MB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.007037, allocations: 4 kB / 410.9 MB, free: 3.457 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 4.512e-05/0.007082, allocations: 113.8 kB / 411 MB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.007097, allocations: 7.938 kB / 411 MB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.039e-05/0.007117, allocations: 12.11 kB / 411 MB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.007118, allocations: 0 / 411 MB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.00712, allocations: 0 / 411 MB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.007122, allocations: 0 / 411 MB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.007236, allocations: 85.88 kB / 411.1 MB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007237, allocations: 0 / 411.1 MB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.007282, allocations: 23.94 kB / 411.1 MB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.007297, allocations: 11.92 kB / 411.2 MB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-06/0.007299, allocations: 0 / 411.2 MB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.007303, allocations: 0 / 411.2 MB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.007304, allocations: 0 / 411.2 MB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.007305, allocations: 0 / 411.2 MB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.63e-05/0.007401, allocations: 155.5 kB / 411.3 MB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-06/0.007411, allocations: 7.938 kB / 411.3 MB, free: 3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.807e-05/0.007449, allocations: 3.984 kB / 411.3 MB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.058e-05/0.007459, allocations: 4 kB / 411.3 MB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.007464, allocations: 4 kB / 411.3 MB, free: 2.988 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.368e-06/0.007473, allocations: 20.78 kB / 411.4 MB, free: 2.965 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007473, allocations: 0 / 411.4 MB, free: 2.965 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001219/0.007595, allocations: 8 kB / 411.4 MB, free: 2.957 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.708e-05/0.007672, allocations: 80.42 kB / 411.4 MB, free: 2.867 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.387e-05/0.007736, allocations: 37.16 kB / 411.5 MB, free: 2.828 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.007741, allocations: 4 kB / 411.5 MB, free: 2.824 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.118e-05/0.007762, allocations: 37.12 kB / 411.5 MB, free: 2.785 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.007882, allocations: 19.94 kB / 411.5 MB, free: 2.766 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009013/0.008783, allocations: 184.3 kB / 411.7 MB, free: 2.559 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.589e-05/0.008819, allocations: 63.34 kB / 411.8 MB, free: 2.477 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.698e-05/0.008846, allocations: 8.5 kB / 411.8 MB, free: 2.469 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.43e-05/0.0089, allocations: 67.36 kB / 411.9 MB, free: 2.402 MB / 394.7 MB Notification: Performance of SimCode: time 7.11e-07/0.008901, allocations: 0 / 411.9 MB, free: 2.402 MB / 394.7 MB Notification: Performance of Templates: time 0.002197/0.0111, allocations: 0.7309 MB / 412.6 MB, free: 1.668 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.051480710506439]