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.001009/0.001009, allocations: 93.03 kB / 16.02 MB, free: 84 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.001405/0.001405, allocations: 180.5 kB / 16.92 MB, free: 6.68 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.352/1.352, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6878/0.6878, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003423, allocations: 12 kB / 495.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1522, allocations: 77.53 MB / 0.5599 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001326/0.1535, allocations: 0.9847 MB / 0.5609 GB, free: 8.051 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003652/0.1572, allocations: 3.191 MB / 0.564 GB, free: 4.844 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.857e-05/0.1573, allocations: 0 / 0.564 GB, free: 4.844 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.1573, allocations: 3.938 kB / 0.564 GB, free: 4.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.406e-05/0.1574, allocations: 0 / 0.564 GB, free: 4.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.1578, allocations: 99.59 kB / 0.5641 GB, free: 4.742 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.375e-05/0.1579, allocations: 39.86 kB / 0.5642 GB, free: 4.703 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.096e-05/0.1579, allocations: 3.938 kB / 0.5642 GB, free: 4.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.158, allocations: 15.98 kB / 0.5642 GB, free: 4.684 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.296e-05/0.158, allocations: 19.91 kB / 0.5642 GB, free: 4.664 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.1581, allocations: 4 kB / 0.5642 GB, free: 4.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.1583, allocations: 71.81 kB / 0.5643 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.1583, allocations: 3.984 kB / 0.5643 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.1584, allocations: 49.62 kB / 0.5643 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1585, allocations: 72.12 kB / 0.5644 GB, free: 4.461 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1586, allocations: 0 / 0.5644 GB, free: 4.461 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1586, allocations: 3.938 kB / 0.5644 GB, free: 4.457 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1586, allocations: 0 / 0.5644 GB, free: 4.457 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.0003499/0.1589, allocations: 335.5 kB / 0.5647 GB, free: 4.082 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.159, allocations: 8.031 kB / 0.5647 GB, free: 4.074 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.539e-05/0.1591, allocations: 8.844 kB / 0.5647 GB, free: 4.066 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1592, allocations: 172.3 kB / 0.5649 GB, free: 3.859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1592, allocations: 384 / 0.5649 GB, free: 3.859 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.1592, allocations: 8.375 kB / 0.5649 GB, free: 3.852 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.1594, allocations: 53.8 kB / 0.5649 GB, free: 3.793 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1594, allocations: 0 / 0.5649 GB, free: 3.793 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1594, allocations: 3.984 kB / 0.565 GB, free: 3.789 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1594, allocations: 0 / 0.565 GB, free: 3.789 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.442e-05/0.1595, allocations: 31.91 kB / 0.565 GB, free: 3.758 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.1597, allocations: 165.7 kB / 0.5651 GB, free: 3.547 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.239e-05/0.1598, allocations: 66.47 kB / 0.5652 GB, free: 3.473 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.1598, allocations: 8.859 kB / 0.5652 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007076/0.1605, allocations: 0.5907 MB / 0.5658 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.1606, allocations: 38.5 kB / 0.5658 GB, free: 2.715 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1606, allocations: 0 / 0.5658 GB, free: 2.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005776/0.1612, allocations: 314.5 kB / 0.5661 GB, free: 2.355 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.1612, allocations: 51.41 kB / 0.5662 GB, free: 2.293 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.796e-05/0.1613, allocations: 93.86 kB / 0.5663 GB, free: 2.191 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.1613, allocations: 33.7 kB / 0.5663 GB, free: 2.152 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.1614, allocations: 84.05 kB / 0.5664 GB, free: 2.066 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.1614, allocations: 31.55 kB / 0.5664 GB, free: 2.035 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.1614, allocations: 17.72 kB / 0.5664 GB, free: 2.012 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1616, allocations: 322.8 kB / 0.5667 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.848e-05/0.1616, allocations: 12 kB / 0.5667 GB, free: 1.676 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.812e-05/0.1617, allocations: 55.55 kB / 0.5668 GB, free: 1.605 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.406e-05/0.1618, allocations: 77.02 kB / 0.5669 GB, free: 1.512 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1618, allocations: 0 / 0.5669 GB, free: 1.512 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001345/0.1619, allocations: 93.55 kB / 0.567 GB, free: 1.414 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1619, allocations: 4 kB / 0.567 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.162, allocations: 0 / 0.567 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.162, allocations: 4 kB / 0.567 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.368e-05/0.162, allocations: 24.11 kB / 0.567 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1621, allocations: 4 kB / 0.567 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.808e-05/0.1621, allocations: 7.938 kB / 0.567 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.1621, allocations: 4 kB / 0.567 GB, free: 1.367 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.571e-05/0.1622, allocations: 117.8 kB / 0.5671 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.1623, allocations: 7.906 kB / 0.5671 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.1623, allocations: 7.969 kB / 0.5671 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1623, allocations: 0 / 0.5671 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1623, allocations: 0 / 0.5671 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.1623, allocations: 8.219 kB / 0.5671 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.1626, allocations: 169.7 kB / 0.5673 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1626, allocations: 0 / 0.5673 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.742e-05/0.1627, allocations: 27.92 kB / 0.5673 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1627, allocations: 3.984 kB / 0.5673 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.1627, allocations: 448 / 0.5673 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1627, allocations: 0 / 0.5673 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1627, allocations: 0 / 0.5673 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.1629, allocations: 183.4 kB / 0.5675 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.163, allocations: 88.95 kB / 0.5676 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.163, allocations: 4.047 kB / 0.5676 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1631, allocations: 7.984 kB / 0.5676 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.1631, allocations: 4 kB / 0.5676 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.1631, allocations: 3.938 kB / 0.5676 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.148e-05/0.1632, allocations: 83.27 kB / 0.5677 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1632, allocations: 0 / 0.5677 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.1634, allocations: 12 kB / 0.5677 GB, free: 0.5586 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 (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.0001226/0.1635, allocations: 103.2 kB / 0.5678 GB, free: 456 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.1637, allocations: 39.92 kB / 0.5678 GB, free: 416 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.1637, allocations: 0 / 0.5678 GB, free: 416 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.044e-05/0.1637, allocations: 19.94 kB / 0.5679 GB, free: 396 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.164, allocations: 9.703 kB / 0.5679 GB, free: 388 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006265/0.1646, allocations: 391 kB / 0.5682 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.1649, allocations: 0.6809 MB / 0.5689 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.323e-05/0.165, allocations: 15.97 kB / 0.5689 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.165, allocations: 11.44 kB / 0.5689 GB, free: 15.23 MB / 446.1 MB Notification: Performance of SimCode: time 8.61e-07/0.165, allocations: 0 / 0.5689 GB, free: 15.23 MB / 446.1 MB Notification: Performance of Templates: time 0.003033/0.1681, allocations: 0.5828 MB / 0.5695 GB, free: 14.65 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)