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.001847/0.001847, allocations: 100.4 kB / 20.45 MB, free: 1.395 MB / 14.72 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.002239/0.002239, allocations: 214 kB / 23.75 MB, free: 4.555 MB / 14.72 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.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.9657/0.9657, allocations: 149.9 MB / 463.8 MB, free: 10.31 MB / 366.1 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.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 67.45 kB / 0.6423 GB, free: 9.637 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1934, allocations: 89.18 MB / 0.7293 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002562/0.196, allocations: 1.271 MB / 0.7306 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004264/0.2002, allocations: 3.075 MB / 0.7336 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.269e-05/0.2003, allocations: 0 / 0.7336 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.2003, allocations: 3.984 kB / 0.7336 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.26e-05/0.2003, allocations: 3.938 kB / 0.7336 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005639/0.2009, allocations: 115.2 kB / 0.7337 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.081e-05/0.201, allocations: 35.84 kB / 0.7337 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.201, allocations: 8 kB / 0.7338 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.945e-05/0.2011, allocations: 19.92 kB / 0.7338 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.844e-05/0.2011, allocations: 19.91 kB / 0.7338 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.2011, allocations: 0 / 0.7338 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002947/0.2014, allocations: 67.77 kB / 0.7339 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.2015, allocations: 11.97 kB / 0.7339 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.2015, allocations: 11.94 kB / 0.7339 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.2017, allocations: 63.86 kB / 0.7339 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2017, allocations: 0 / 0.7339 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2017, allocations: 0 / 0.7339 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2017, allocations: 7.938 kB / 0.7339 GB, free: 11.79 MB / 0.5606 GB 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.0004463/0.2021, allocations: 278.2 kB / 0.7342 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2022, allocations: 8.031 kB / 0.7342 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.2023, allocations: 8.875 kB / 0.7342 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.2024, allocations: 106.5 kB / 0.7343 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.2024, allocations: 4.375 kB / 0.7343 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.2024, allocations: 8.375 kB / 0.7343 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.2026, allocations: 134.8 kB / 0.7345 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2026, allocations: 4 kB / 0.7345 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.2026, allocations: 8 kB / 0.7345 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2026, allocations: 3.984 kB / 0.7345 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.633e-05/0.2027, allocations: 15.98 kB / 0.7345 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.2029, allocations: 117.2 kB / 0.7346 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.203, allocations: 50.55 kB / 0.7347 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.248e-05/0.2031, allocations: 8.859 kB / 0.7347 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006407/0.2037, allocations: 250.1 kB / 0.7349 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.2037, allocations: 34.55 kB / 0.7349 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.2037, allocations: 0 / 0.7349 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0005958/0.2043, allocations: 237.1 kB / 0.7352 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.2044, allocations: 51.41 kB / 0.7352 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.895e-05/0.2045, allocations: 93.86 kB / 0.7353 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.2045, allocations: 33.7 kB / 0.7353 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.2046, allocations: 88.08 kB / 0.7354 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.2046, allocations: 27.75 kB / 0.7354 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.2046, allocations: 29.7 kB / 0.7355 GB, free: 10 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.2048, allocations: 318.7 kB / 0.7358 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.159e-05/0.2048, allocations: 15.98 kB / 0.7358 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.227e-05/0.2049, allocations: 53.09 kB / 0.7358 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.205, allocations: 77.08 kB / 0.7359 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.205, allocations: 0 / 0.7359 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00015/0.2052, allocations: 93.78 kB / 0.736 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2052, allocations: 4 kB / 0.736 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2052, allocations: 48 / 0.736 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.2052, allocations: 7.984 kB / 0.736 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.038e-05/0.2053, allocations: 28.05 kB / 0.736 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.2053, allocations: 4 kB / 0.736 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.078e-05/0.2053, allocations: 4 kB / 0.7361 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.2053, allocations: 4 kB / 0.7361 GB, free: 9.355 MB / 0.5606 GB 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 9.609e-05/0.2054, allocations: 117.8 kB / 0.7362 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.2055, allocations: 7.953 kB / 0.7362 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/0.2055, allocations: 8.062 kB / 0.7362 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.2055, allocations: 0 / 0.7362 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2055, allocations: 0 / 0.7362 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2055, allocations: 3.984 kB / 0.7362 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.2057, allocations: 133.7 kB / 0.7363 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2057, allocations: 0 / 0.7363 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.832e-05/0.2058, allocations: 19.94 kB / 0.7363 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2058, allocations: 4 kB / 0.7363 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.2058, allocations: 0 / 0.7363 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2058, allocations: 0 / 0.7363 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.2058, allocations: 3.984 kB / 0.7363 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.2061, allocations: 175.4 kB / 0.7365 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.576e-05/0.2061, allocations: 4.031 kB / 0.7365 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.2061, allocations: 4 kB / 0.7365 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.2062, allocations: 0 / 0.7365 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.2062, allocations: 15.92 kB / 0.7365 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.2062, allocations: 4 kB / 0.7365 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.2063, allocations: 79.28 kB / 0.7366 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2063, allocations: 0 / 0.7366 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002416/0.2065, allocations: 16 kB / 0.7366 GB, free: 8.711 MB / 0.5606 GB 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 0.0001376/0.2066, allocations: 95.19 kB / 0.7367 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.2068, allocations: 56.02 kB / 0.7368 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2068, allocations: 4.062 kB / 0.7368 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.306e-05/0.2068, allocations: 8 kB / 0.7368 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.2071, allocations: 8 kB / 0.7368 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007039/0.2078, allocations: 348.6 kB / 0.7371 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.621e-05/0.2079, allocations: 63.34 kB / 0.7372 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.2079, allocations: 15.44 kB / 0.7372 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.2079, allocations: 3.938 kB / 0.7372 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of Templates: time 0.002413/0.2103, allocations: 0.8009 MB / 0.738 GB, free: 7.258 MB / 0.5606 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.172883931081742] Failed to read output from testmodel.py, exit status != 0: 0.21939276671037078 0.2347652 0.029728738 Calling exit ...