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.001237/0.001237, allocations: 74.98 kB / 19.93 MB, free: 1.77 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.001475/0.001475, allocations: 171.9 kB / 23.22 MB, free: 4.887 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.362/1.362, allocations: 177.2 MB / 203.5 MB, free: 9.16 MB / 190.1 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.9023/0.9023, allocations: 114 MB / 373.9 MB, free: 13.25 MB / 350.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: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.5546 GB, free: 2.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.127e-05, allocations: 2.938 kB / 0.5546 GB, free: 2.66 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.00219/0.002211, allocations: 1.269 MB / 0.5559 GB, free: 1.395 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003917/0.006128, allocations: 3.079 MB / 0.5589 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.422e-05/0.006152, allocations: 3.938 kB / 0.5589 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.133e-05/0.006174, allocations: 3.938 kB / 0.5589 GB, free: 14.29 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.412e-05/0.006218, allocations: 11.97 kB / 0.5589 GB, free: 14.28 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005136/0.006731, allocations: 107.4 kB / 0.559 GB, free: 14.18 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.487e-05/0.006806, allocations: 39.84 kB / 0.559 GB, free: 14.14 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.51e-05/0.006841, allocations: 0 / 0.559 GB, free: 14.14 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.186e-05/0.006903, allocations: 27.91 kB / 0.5591 GB, free: 14.11 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.385e-05/0.006967, allocations: 15.97 kB / 0.5591 GB, free: 14.09 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.00698, allocations: 0 / 0.5591 GB, free: 14.09 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.007176, allocations: 71.75 kB / 0.5592 GB, free: 14.02 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.007189, allocations: 3.938 kB / 0.5592 GB, free: 14.02 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.007221, allocations: 23.91 kB / 0.5592 GB, free: 14 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.00739, allocations: 63.86 kB / 0.5592 GB, free: 13.93 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.007392, allocations: 0 / 0.5592 GB, free: 13.93 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.007393, allocations: 4 kB / 0.5592 GB, free: 13.93 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.007402, allocations: 4 kB / 0.5592 GB, free: 13.93 MB / 478.1 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.0003991/0.007801, allocations: 270.3 kB / 0.5595 GB, free: 13.63 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.007834, allocations: 8.625 kB / 0.5595 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.63e-05/0.00793, allocations: 8.891 kB / 0.5595 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.664e-05/0.008027, allocations: 105.8 kB / 0.5596 GB, free: 13.49 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.008035, allocations: 384 / 0.5596 GB, free: 13.49 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.008066, allocations: 12.36 kB / 0.5596 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.008251, allocations: 127.3 kB / 0.5598 GB, free: 13.33 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.00826, allocations: 4.188 kB / 0.5598 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.008277, allocations: 16.05 kB / 0.5598 GB, free: 13.31 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.008282, allocations: 0 / 0.5598 GB, free: 13.31 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.327e-05/0.008335, allocations: 23.86 kB / 0.5598 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.008483, allocations: 105.3 kB / 0.5599 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.008594, allocations: 54.61 kB / 0.5599 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.073e-05/0.008625, allocations: 16.86 kB / 0.56 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005379/0.009162, allocations: 241.8 kB / 0.5602 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.009198, allocations: 42.48 kB / 0.5602 GB, free: 12.76 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.009199, allocations: 0 / 0.5602 GB, free: 12.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005309/0.00973, allocations: 217.2 kB / 0.5604 GB, free: 12.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.009773, allocations: 55.41 kB / 0.5605 GB, free: 12.45 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.023e-05/0.009853, allocations: 102 kB / 0.5606 GB, free: 12.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.009873, allocations: 25.7 kB / 0.5606 GB, free: 12.31 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.206e-05/0.009925, allocations: 92.06 kB / 0.5607 GB, free: 12.21 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.009948, allocations: 27.75 kB / 0.5607 GB, free: 12.19 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.009991, allocations: 29.7 kB / 0.5608 GB, free: 12.15 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.01012, allocations: 318.8 kB / 0.5611 GB, free: 11.83 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/0.01015, allocations: 8 kB / 0.5611 GB, free: 11.82 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.287e-05/0.01021, allocations: 55.98 kB / 0.5611 GB, free: 11.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.01032, allocations: 84.95 kB / 0.5612 GB, free: 11.65 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.01032, allocations: 4 kB / 0.5612 GB, free: 11.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001439/0.01046, allocations: 97.5 kB / 0.5613 GB, free: 11.55 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.01047, allocations: 4 kB / 0.5613 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.01048, allocations: 4 kB / 0.5613 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.0105, allocations: 4.562 kB / 0.5613 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-05/0.01058, allocations: 24.2 kB / 0.5613 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.01059, allocations: 4 kB / 0.5613 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.761e-05/0.01062, allocations: 4 kB / 0.5613 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.01063, allocations: 4 kB / 0.5614 GB, free: 11.5 MB / 478.1 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 9.233e-05/0.01072, allocations: 125.7 kB / 0.5615 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.01075, allocations: 4 kB / 0.5615 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.01078, allocations: 12.11 kB / 0.5615 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.01079, allocations: 0 / 0.5615 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01079, allocations: 4 kB / 0.5615 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.01079, allocations: 4 kB / 0.5615 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.01101, allocations: 121.2 kB / 0.5616 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.01102, allocations: 4 kB / 0.5616 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.615e-05/0.0111, allocations: 16 kB / 0.5616 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.0111, allocations: 0 / 0.5616 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.01111, allocations: 0 / 0.5616 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01111, allocations: 0 / 0.5616 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01111, allocations: 3.938 kB / 0.5616 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.01131, allocations: 183.3 kB / 0.5618 GB, free: 10.97 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.01133, allocations: 8.031 kB / 0.5618 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.01135, allocations: 0 / 0.5618 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.01145, allocations: 8 kB / 0.5618 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.01147, allocations: 7.984 kB / 0.5618 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.01148, allocations: 4 kB / 0.5618 GB, free: 10.94 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.995e-05/0.01152, allocations: 75.28 kB / 0.5619 GB, free: 10.87 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01152, allocations: 0 / 0.5619 GB, free: 10.87 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000237/0.01176, allocations: 16 kB / 0.5619 GB, free: 10.85 MB / 478.1 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 0.0001218/0.01188, allocations: 95.25 kB / 0.562 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.01199, allocations: 47.86 kB / 0.5621 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01199, allocations: 0 / 0.5621 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 2.827e-05/0.01202, allocations: 15.98 kB / 0.5621 GB, free: 10.69 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.01225, allocations: 13.66 kB / 0.5621 GB, free: 10.68 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005008/0.01275, allocations: 257.5 kB / 0.5623 GB, free: 10.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.237e-05/0.01281, allocations: 67.34 kB / 0.5624 GB, free: 10.31 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 4.274e-05/0.01286, allocations: 11.98 kB / 0.5624 GB, free: 10.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.01288, allocations: 16.44 kB / 0.5624 GB, free: 10.29 MB / 478.1 MB Notification: Performance of SimCode: time 3e-07/0.01288, allocations: 0 / 0.5624 GB, free: 10.29 MB / 478.1 MB Notification: Performance of Templates: time 0.003037/0.01592, allocations: 0.6214 MB / 0.563 GB, free: 9.68 MB / 478.1 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0288859866559505] Failed to read output from testmodel.py, exit status != 0: 0.024099696427583694 0.03901973699999994 0.02846311699999994 Calling exit ...