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.001413/0.001413, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001451/0.001451, allocations: 209 kB / 22.99 MB, free: 4.977 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.568/1.568, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9808/0.9808, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 178] 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.002143/0.002143, allocations: 67.41 kB / 0.6415 GB, free: 9.664 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2381, allocations: 89.18 MB / 0.7286 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002707/0.2409, allocations: 1.265 MB / 0.7298 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004193/0.245, allocations: 3.086 MB / 0.7328 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.255e-05/0.2451, allocations: 0 / 0.7328 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.2451, allocations: 0 / 0.7328 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.794e-05/0.2452, allocations: 3.938 kB / 0.7329 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005918/0.2458, allocations: 111.5 kB / 0.733 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.846e-05/0.2459, allocations: 39.84 kB / 0.733 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.951e-05/0.2459, allocations: 4 kB / 0.733 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.86e-05/0.246, allocations: 15.94 kB / 0.733 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.07e-05/0.246, allocations: 23.91 kB / 0.733 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.2461, allocations: 0 / 0.733 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.2463, allocations: 67.75 kB / 0.7331 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.2463, allocations: 11.98 kB / 0.7331 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.2463, allocations: 11.94 kB / 0.7331 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.2465, allocations: 63.84 kB / 0.7332 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2465, allocations: 0 / 0.7332 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2465, allocations: 4 kB / 0.7332 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.2465, allocations: 0 / 0.7332 GB, free: 11.82 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.0004898/0.247, allocations: 278.2 kB / 0.7335 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2471, allocations: 8.031 kB / 0.7335 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.2472, allocations: 8.922 kB / 0.7335 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.2473, allocations: 114.5 kB / 0.7336 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.2473, allocations: 4.375 kB / 0.7336 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.2474, allocations: 4.375 kB / 0.7336 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.2476, allocations: 138.8 kB / 0.7337 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2476, allocations: 0 / 0.7337 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.2476, allocations: 4 kB / 0.7337 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.2476, allocations: 4 kB / 0.7337 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.627e-05/0.2477, allocations: 15.98 kB / 0.7337 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.2478, allocations: 113.3 kB / 0.7339 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.2479, allocations: 46.56 kB / 0.7339 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.591e-05/0.248, allocations: 20.83 kB / 0.7339 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006159/0.2486, allocations: 246.1 kB / 0.7341 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.2486, allocations: 38.56 kB / 0.7342 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.2486, allocations: 0 / 0.7342 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0006472/0.2493, allocations: 229.1 kB / 0.7344 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.2493, allocations: 51.41 kB / 0.7345 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.2494, allocations: 105.8 kB / 0.7346 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.2495, allocations: 25.7 kB / 0.7346 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.2495, allocations: 84.09 kB / 0.7347 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.2496, allocations: 35.8 kB / 0.7347 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.2496, allocations: 29.66 kB / 0.7347 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.2498, allocations: 322.8 kB / 0.735 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/0.2498, allocations: 11.94 kB / 0.735 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.609e-05/0.2499, allocations: 61.08 kB / 0.7351 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.25, allocations: 69.09 kB / 0.7352 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.25, allocations: 0 / 0.7352 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001431/0.2501, allocations: 93.55 kB / 0.7353 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2501, allocations: 4 kB / 0.7353 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.2502, allocations: 7.984 kB / 0.7353 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.2502, allocations: 4.562 kB / 0.7353 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.2502, allocations: 20 kB / 0.7353 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.2503, allocations: 7.938 kB / 0.7353 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.785e-05/0.2503, allocations: 4 kB / 0.7353 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.2503, allocations: 4 kB / 0.7353 GB, free: 9.379 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 0.0001045/0.2504, allocations: 121.8 kB / 0.7354 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.2504, allocations: 7.953 kB / 0.7354 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.2505, allocations: 8.062 kB / 0.7354 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2505, allocations: 0 / 0.7354 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2505, allocations: 0 / 0.7354 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2505, allocations: 4 kB / 0.7354 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.2507, allocations: 121.2 kB / 0.7356 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.2507, allocations: 0 / 0.7356 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.69e-05/0.2508, allocations: 19.98 kB / 0.7356 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2508, allocations: 3.938 kB / 0.7356 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.2508, allocations: 4 kB / 0.7356 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2508, allocations: 0 / 0.7356 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2508, allocations: 0 / 0.7356 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.251, allocations: 175.7 kB / 0.7357 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.2511, allocations: 4 kB / 0.7358 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.2511, allocations: 96 / 0.7358 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.2512, allocations: 12.03 kB / 0.7358 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.2512, allocations: 11.97 kB / 0.7358 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.2512, allocations: 7.938 kB / 0.7358 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.947e-05/0.2513, allocations: 75.28 kB / 0.7359 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2513, allocations: 0 / 0.7359 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002472/0.2515, allocations: 16 kB / 0.7359 GB, free: 8.738 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.000144/0.2516, allocations: 106.6 kB / 0.736 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.2518, allocations: 48.05 kB / 0.736 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2518, allocations: 0 / 0.736 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.018e-05/0.2518, allocations: 11.94 kB / 0.736 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.2521, allocations: 11.98 kB / 0.736 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007025/0.2528, allocations: 322.9 kB / 0.7363 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.458e-05/0.2529, allocations: 67.34 kB / 0.7364 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.777e-05/0.253, allocations: 4 kB / 0.7364 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.253, allocations: 11.44 kB / 0.7364 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.253, allocations: 0 / 0.7364 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of Templates: time 0.003541/0.2566, allocations: 0.6426 MB / 0.7371 GB, free: 7.496 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: 6.19051375053823] Failed to read output from testmodel.py, exit status != 0: 0.2659769393503666 0.280980059 0.031234484000000003 Calling exit ...