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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008462/0.0008462, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008442/0.0008443, allocations: 172 kB / 16.58 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.3 MB / 240.6 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.702/0.702, allocations: 115.5 MB / 407.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003161, allocations: 8 kB / 495.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 77.52 MB / 0.5593 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001554/0.1441, allocations: 0.9769 MB / 0.5603 GB, free: 8.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00451/0.1487, allocations: 3.044 MB / 0.5632 GB, free: 5.371 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/0.1488, allocations: 0 / 0.5632 GB, free: 5.371 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.1488, allocations: 0 / 0.5632 GB, free: 5.371 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.94e-05/0.1488, allocations: 11.92 kB / 0.5632 GB, free: 5.359 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.1494, allocations: 83.62 kB / 0.5633 GB, free: 5.277 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.729e-05/0.1494, allocations: 23.92 kB / 0.5633 GB, free: 5.254 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.1495, allocations: 7.984 kB / 0.5634 GB, free: 5.246 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.116e-05/0.1495, allocations: 23.92 kB / 0.5634 GB, free: 5.223 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.31e-05/0.1496, allocations: 19.92 kB / 0.5634 GB, free: 5.203 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.1496, allocations: 0 / 0.5634 GB, free: 5.203 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.1499, allocations: 55.83 kB / 0.5635 GB, free: 5.148 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.1499, allocations: 0 / 0.5635 GB, free: 5.148 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.1499, allocations: 29.7 kB / 0.5635 GB, free: 5.113 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.15, allocations: 44.22 kB / 0.5635 GB, free: 5.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.15, allocations: 0 / 0.5635 GB, free: 5.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.15, allocations: 0 / 0.5635 GB, free: 5.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1501, allocations: 0 / 0.5635 GB, free: 5.07 MB / 430.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.0003602/0.1504, allocations: 343.3 kB / 0.5638 GB, free: 4.688 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1505, allocations: 8.031 kB / 0.5639 GB, free: 4.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.103e-05/0.1506, allocations: 7.906 kB / 0.5639 GB, free: 4.672 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.697e-05/0.1507, allocations: 167 kB / 0.564 GB, free: 4.469 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1507, allocations: 11.88 kB / 0.564 GB, free: 4.457 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.024e-05/0.1507, allocations: 15.95 kB / 0.5641 GB, free: 4.441 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.1509, allocations: 49.67 kB / 0.5641 GB, free: 4.387 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1509, allocations: 0 / 0.5641 GB, free: 4.387 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1509, allocations: 8 kB / 0.5641 GB, free: 4.379 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.1509, allocations: 0 / 0.5641 GB, free: 4.379 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.253e-05/0.151, allocations: 19.97 kB / 0.5641 GB, free: 4.359 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.1511, allocations: 161.7 kB / 0.5643 GB, free: 4.152 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.838e-05/0.1512, allocations: 50.5 kB / 0.5643 GB, free: 4.094 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.191e-05/0.1513, allocations: 24.84 kB / 0.5644 GB, free: 4.066 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000683/0.152, allocations: 0.5948 MB / 0.5649 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.152, allocations: 34.56 kB / 0.565 GB, free: 3.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.152, allocations: 0 / 0.565 GB, free: 3.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005645/0.1526, allocations: 294.2 kB / 0.5652 GB, free: 2.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.1526, allocations: 63.33 kB / 0.5653 GB, free: 2.906 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.283e-05/0.1527, allocations: 97.86 kB / 0.5654 GB, free: 2.801 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.1527, allocations: 29.7 kB / 0.5654 GB, free: 2.766 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.1528, allocations: 84.05 kB / 0.5655 GB, free: 2.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.1528, allocations: 31.55 kB / 0.5655 GB, free: 2.648 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.1528, allocations: 0 / 0.5655 GB, free: 2.648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1529, allocations: 322.8 kB / 0.5658 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-05/0.153, allocations: 15.98 kB / 0.5659 GB, free: 2.309 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.189e-05/0.153, allocations: 49.14 kB / 0.5659 GB, free: 2.242 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.565e-05/0.1531, allocations: 20 kB / 0.5659 GB, free: 2.223 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1531, allocations: 3.938 kB / 0.5659 GB, free: 2.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001388/0.1532, allocations: 93.77 kB / 0.566 GB, free: 2.121 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1532, allocations: 8.125 kB / 0.566 GB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1533, allocations: 4 kB / 0.566 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1533, allocations: 4 kB / 0.566 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.914e-05/0.1534, allocations: 23.92 kB / 0.5661 GB, free: 2.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1534, allocations: 0 / 0.5661 GB, free: 2.082 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.1534, allocations: 8 kB / 0.5661 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.1534, allocations: 4 kB / 0.5661 GB, free: 2.07 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.699e-05/0.1535, allocations: 123.3 kB / 0.5662 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.1536, allocations: 3.906 kB / 0.5662 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.1536, allocations: 15.97 kB / 0.5662 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1536, allocations: 0 / 0.5662 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1536, allocations: 0 / 0.5662 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.1536, allocations: 3.984 kB / 0.5662 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.1539, allocations: 173.7 kB / 0.5664 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.1539, allocations: 3.984 kB / 0.5664 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.583e-05/0.154, allocations: 20.38 kB / 0.5664 GB, free: 1.676 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.154, allocations: 4 kB / 0.5664 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.154, allocations: 0 / 0.5664 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.154, allocations: 4 kB / 0.5664 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.154, allocations: 0 / 0.5664 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.1542, allocations: 179.5 kB / 0.5666 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.1543, allocations: 89.05 kB / 0.5667 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.1543, allocations: 0 / 0.5667 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1544, allocations: 8 kB / 0.5667 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.1545, allocations: 0 / 0.5667 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.1545, allocations: 4 kB / 0.5667 GB, free: 1.359 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.282e-05/0.1545, allocations: 79.27 kB / 0.5667 GB, free: 1.281 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1545, allocations: 4 kB / 0.5668 GB, free: 1.277 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.1548, allocations: 16 kB / 0.5668 GB, free: 1.262 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001123/0.1549, allocations: 95.25 kB / 0.5669 GB, free: 1.156 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.1551, allocations: 47.91 kB / 0.5669 GB, free: 1.109 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1551, allocations: 0 / 0.5669 GB, free: 1.109 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.609e-05/0.1552, allocations: 19.92 kB / 0.5669 GB, free: 1.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.1554, allocations: 13.92 kB / 0.5669 GB, free: 1.078 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005819/0.156, allocations: 390.8 kB / 0.5673 GB, free: 0.668 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.1563, allocations: 0.6809 MB / 0.568 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.616e-05/0.1563, allocations: 11.98 kB / 0.568 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/0.1564, allocations: 11.44 kB / 0.568 GB, free: 15.94 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1564, allocations: 0 / 0.568 GB, free: 15.94 MB / 446.1 MB Notification: Performance of Templates: time 0.002647/0.159, allocations: 0.5587 MB / 0.5685 GB, free: 15.38 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.makefile (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)