Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck") translateModel(Annex60.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01276/0.01276, allocations: 102.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002856/0.002856, allocations: 196.5 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4438/0.4438, allocations: 54.94 MB / 324.8 MB, free: 15.85 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 70.11 kB / 456.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1697, allocations: 59.59 MB / 0.5037 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterDerivativeCheck): time 0.002625/0.1724, allocations: 1.239 MB / 0.5049 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003778/0.1762, allocations: 3.279 MB / 0.5081 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.1762, allocations: 0 / 0.5081 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.1763, allocations: 3.938 kB / 0.5081 GB, free: 5.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.999e-05/0.1764, allocations: 9.344 kB / 0.5081 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006849/0.1771, allocations: 107.1 kB / 0.5082 GB, free: 5.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.1772, allocations: 32.44 kB / 0.5082 GB, free: 5.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.488e-05/0.1773, allocations: 10.62 kB / 0.5082 GB, free: 5.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.849e-05/0.1774, allocations: 25.66 kB / 0.5083 GB, free: 5.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.143e-05/0.1775, allocations: 10.31 kB / 0.5083 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.1775, allocations: 1.406 kB / 0.5083 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.1777, allocations: 85.23 kB / 0.5084 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.1778, allocations: 6.328 kB / 0.5084 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.1778, allocations: 14.28 kB / 0.5084 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.178, allocations: 71.75 kB / 0.5085 GB, free: 5.734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.178, allocations: 0 / 0.5085 GB, free: 5.734 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.178, allocations: 0 / 0.5085 GB, free: 5.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1781, allocations: 4 kB / 0.5085 GB, free: 5.73 MB / 382.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.0005096/0.1786, allocations: 345.6 kB / 0.5088 GB, free: 5.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.1786, allocations: 12.64 kB / 0.5088 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.1788, allocations: 9.406 kB / 0.5088 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.1789, allocations: 160.4 kB / 0.509 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1789, allocations: 3.438 kB / 0.509 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.1789, allocations: 6.938 kB / 0.509 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.1791, allocations: 62.42 kB / 0.509 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1791, allocations: 0 / 0.509 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.1792, allocations: 1.688 kB / 0.509 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1792, allocations: 0 / 0.509 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.365e-05/0.1792, allocations: 22.47 kB / 0.509 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.1794, allocations: 169 kB / 0.5092 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.37e-05/0.1795, allocations: 52.38 kB / 0.5093 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.929e-05/0.1795, allocations: 20.91 kB / 0.5093 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006864/0.1802, allocations: 0.5939 MB / 0.5099 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.1803, allocations: 32.22 kB / 0.5099 GB, free: 4.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.1803, allocations: 3.938 kB / 0.5099 GB, free: 4.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006141/0.1809, allocations: 299.6 kB / 0.5102 GB, free: 3.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.1809, allocations: 61.19 kB / 0.5102 GB, free: 3.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.969e-05/0.181, allocations: 104.4 kB / 0.5103 GB, free: 3.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.181, allocations: 31.05 kB / 0.5104 GB, free: 3.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.181, allocations: 85.33 kB / 0.5105 GB, free: 3.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.1811, allocations: 30.14 kB / 0.5105 GB, free: 3.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.1811, allocations: 26.41 kB / 0.5105 GB, free: 3.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.886e-05/0.1812, allocations: 319.9 kB / 0.5108 GB, free: 3.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.842e-05/0.1812, allocations: 12.22 kB / 0.5108 GB, free: 3.156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.055e-05/0.1813, allocations: 56.98 kB / 0.5109 GB, free: 3.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.312e-05/0.1814, allocations: 74.08 kB / 0.5109 GB, free: 3.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.1814, allocations: 5.406 kB / 0.511 GB, free: 3.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001324/0.1815, allocations: 90.2 kB / 0.511 GB, free: 2.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1815, allocations: 5.781 kB / 0.511 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1815, allocations: 1.531 kB / 0.511 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1816, allocations: 1.406 kB / 0.511 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/0.1816, allocations: 21.22 kB / 0.5111 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.1817, allocations: 5.656 kB / 0.5111 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.1817, allocations: 10.81 kB / 0.5111 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1817, allocations: 7.938 kB / 0.5111 GB, free: 2.941 MB / 382.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 7.267e-05/0.1818, allocations: 120.7 kB / 0.5112 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.1818, allocations: 6.75 kB / 0.5112 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.1819, allocations: 7.969 kB / 0.5112 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1819, allocations: 1.5 kB / 0.5112 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1819, allocations: 0 / 0.5112 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1819, allocations: 5.312 kB / 0.5112 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.1821, allocations: 168.9 kB / 0.5114 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1821, allocations: 0 / 0.5114 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.255e-05/0.1822, allocations: 29.14 kB / 0.5114 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1822, allocations: 1.438 kB / 0.5114 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1822, allocations: 5.562 kB / 0.5114 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1822, allocations: 4 kB / 0.5114 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1822, allocations: 0 / 0.5114 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.1824, allocations: 172.7 kB / 0.5116 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.1825, allocations: 83.92 kB / 0.5117 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.1825, allocations: 0.8438 kB / 0.5117 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1826, allocations: 6.875 kB / 0.5117 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.1827, allocations: 5.516 kB / 0.5117 GB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.1827, allocations: 10.84 kB / 0.5117 GB, free: 2.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.203e-05/0.1827, allocations: 82.22 kB / 0.5118 GB, free: 2.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1827, allocations: 3.938 kB / 0.5118 GB, free: 2.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.183, allocations: 14.16 kB / 0.5118 GB, free: 2.227 MB / 382.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.0001364/0.1831, allocations: 105.8 kB / 0.5119 GB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.1833, allocations: 43.92 kB / 0.5119 GB, free: 2.082 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1833, allocations: 0 / 0.5119 GB, free: 2.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.688e-05/0.1833, allocations: 12 kB / 0.5119 GB, free: 2.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.1837, allocations: 8.219 kB / 0.5119 GB, free: 2.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/0.1842, allocations: 318.5 kB / 0.5123 GB, free: 1.727 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.1844, allocations: 0.6922 MB / 0.5129 GB, free: 1.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.572e-05/0.1844, allocations: 8 kB / 0.5129 GB, free: 1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.1845, allocations: 11.44 kB / 0.5129 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1845, allocations: 0 / 0.5129 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of Templates: time 0.002995/0.1875, allocations: 0.6238 MB / 0.5136 GB, free: 376 kB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe 2>&1)