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.001827/0.001827, allocations: 75.69 kB / 20.51 MB, free: 1.27 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.002255/0.002255, allocations: 163.8 kB / 23.76 MB, free: 4.453 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.5/1.5, allocations: 177.2 MB / 204.1 MB, free: 8.977 MB / 190.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.9332/0.9332, allocations: 113.9 MB / 374.5 MB, free: 12.87 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: 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.002254/0.002254, allocations: 62.25 kB / 0.555 GB, free: 2.715 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1702, allocations: 89.16 MB / 0.6421 GB, free: 9.523 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.00269/0.1729, allocations: 1.251 MB / 0.6433 GB, free: 8.262 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00402/0.1769, allocations: 3.091 MB / 0.6463 GB, free: 5.152 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.177, allocations: 0 / 0.6463 GB, free: 5.152 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.262e-05/0.177, allocations: 15.86 kB / 0.6463 GB, free: 5.137 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.109e-05/0.177, allocations: 3.938 kB / 0.6463 GB, free: 5.133 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.1775, allocations: 103.5 kB / 0.6464 GB, free: 5.031 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.114e-05/0.1776, allocations: 31.91 kB / 0.6465 GB, free: 5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.954e-05/0.1776, allocations: 0 / 0.6465 GB, free: 5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.637e-05/0.1777, allocations: 27.92 kB / 0.6465 GB, free: 4.973 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.696e-05/0.1778, allocations: 19.91 kB / 0.6465 GB, free: 4.953 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.819e-06/0.1778, allocations: 0 / 0.6465 GB, free: 4.953 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.178, allocations: 63.83 kB / 0.6466 GB, free: 4.891 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.178, allocations: 7.984 kB / 0.6466 GB, free: 4.883 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.178, allocations: 15.92 kB / 0.6466 GB, free: 4.867 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.1782, allocations: 67.8 kB / 0.6467 GB, free: 4.801 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1782, allocations: 0 / 0.6467 GB, free: 4.801 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1782, allocations: 0 / 0.6467 GB, free: 4.801 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.1782, allocations: 0 / 0.6467 GB, free: 4.801 MB / 0.545 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.000371/0.1786, allocations: 278.2 kB / 0.6469 GB, free: 4.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1786, allocations: 12.03 kB / 0.6469 GB, free: 4.488 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.827e-05/0.1787, allocations: 4.938 kB / 0.6469 GB, free: 4.484 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.508e-05/0.1788, allocations: 110.4 kB / 0.647 GB, free: 4.352 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1788, allocations: 384 / 0.647 GB, free: 4.352 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.1788, allocations: 8.375 kB / 0.6471 GB, free: 4.344 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.179, allocations: 130.9 kB / 0.6472 GB, free: 4.191 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.179, allocations: 4 kB / 0.6472 GB, free: 4.188 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.179, allocations: 11.97 kB / 0.6472 GB, free: 4.176 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.179, allocations: 0 / 0.6472 GB, free: 4.176 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.838e-05/0.1791, allocations: 11.98 kB / 0.6472 GB, free: 4.164 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.1792, allocations: 121.3 kB / 0.6473 GB, free: 4.016 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.1793, allocations: 54.47 kB / 0.6474 GB, free: 3.953 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.1794, allocations: 16.86 kB / 0.6474 GB, free: 3.934 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005262/0.1799, allocations: 254 kB / 0.6476 GB, free: 3.664 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.1799, allocations: 30.56 kB / 0.6477 GB, free: 3.625 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.1799, allocations: 0 / 0.6477 GB, free: 3.625 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005308/0.1804, allocations: 225.1 kB / 0.6479 GB, free: 3.371 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.1805, allocations: 59.28 kB / 0.6479 GB, free: 3.301 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.1806, allocations: 101.9 kB / 0.648 GB, free: 3.191 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.1806, allocations: 29.7 kB / 0.6481 GB, free: 3.156 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.1806, allocations: 92.08 kB / 0.6481 GB, free: 3.062 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.1807, allocations: 23.75 kB / 0.6482 GB, free: 3.039 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.1807, allocations: 25.7 kB / 0.6482 GB, free: 3.008 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1809, allocations: 322.8 kB / 0.6485 GB, free: 2.684 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.955e-05/0.1809, allocations: 15.98 kB / 0.6485 GB, free: 2.668 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.024e-05/0.1809, allocations: 45.16 kB / 0.6486 GB, free: 2.605 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.181, allocations: 81.08 kB / 0.6486 GB, free: 2.508 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.181, allocations: 0 / 0.6486 GB, free: 2.508 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001452/0.1812, allocations: 93.55 kB / 0.6487 GB, free: 2.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1812, allocations: 8 kB / 0.6487 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1812, allocations: 0 / 0.6487 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1812, allocations: 4 kB / 0.6487 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.913e-05/0.1813, allocations: 23.92 kB / 0.6488 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1813, allocations: 0 / 0.6488 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.809e-05/0.1814, allocations: 8.125 kB / 0.6488 GB, free: 2.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1814, allocations: 8 kB / 0.6488 GB, free: 2.359 MB / 0.545 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.376e-05/0.1815, allocations: 121.7 kB / 0.6489 GB, free: 2.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.1815, allocations: 3.953 kB / 0.6489 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.1815, allocations: 8.125 kB / 0.6489 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1815, allocations: 8.219 kB / 0.6489 GB, free: 2.207 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1815, allocations: 0 / 0.6489 GB, free: 2.207 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1815, allocations: 3.984 kB / 0.6489 GB, free: 2.203 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.1817, allocations: 129.3 kB / 0.649 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1817, allocations: 448 / 0.649 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.554e-05/0.1818, allocations: 16 kB / 0.6491 GB, free: 2.031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1818, allocations: 0 / 0.6491 GB, free: 2.031 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.1819, allocations: 8 kB / 0.6491 GB, free: 2.023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1819, allocations: 3.984 kB / 0.6491 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1819, allocations: 0 / 0.6491 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.182, allocations: 171.4 kB / 0.6492 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.1821, allocations: 8.031 kB / 0.6492 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.1821, allocations: 4 kB / 0.6492 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.1822, allocations: 4 kB / 0.6492 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.1822, allocations: 3.984 kB / 0.6492 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.1822, allocations: 4 kB / 0.6492 GB, free: 1.812 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.042e-05/0.1823, allocations: 87.28 kB / 0.6493 GB, free: 1.727 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1823, allocations: 0 / 0.6493 GB, free: 1.727 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002394/0.1825, allocations: 11.94 kB / 0.6493 GB, free: 1.715 MB / 0.545 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.0001246/0.1826, allocations: 99.25 kB / 0.6494 GB, free: 1.609 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000115/0.1828, allocations: 47.83 kB / 0.6495 GB, free: 1.562 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1828, allocations: 0 / 0.6495 GB, free: 1.562 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/0.1828, allocations: 19.94 kB / 0.6495 GB, free: 1.543 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.1831, allocations: 14.12 kB / 0.6495 GB, free: 1.531 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005845/0.1837, allocations: 307 kB / 0.6498 GB, free: 1.207 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.095e-05/0.1837, allocations: 71.28 kB / 0.6499 GB, free: 1.117 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.377e-05/0.1838, allocations: 11.98 kB / 0.6499 GB, free: 1.105 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.1838, allocations: 12.5 kB / 0.6499 GB, free: 1.094 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1838, allocations: 0 / 0.6499 GB, free: 1.094 MB / 0.545 GB Notification: Performance of Templates: time 0.003291/0.1871, allocations: 0.6162 MB / 0.6505 GB, free: 0.4922 MB / 0.545 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.584420099039562] Failed to read output from testmodel.py, exit status != 0: 0.195994365029037 0.21058628000000001 0.029267474 Calling exit ...