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.005849/0.005849, allocations: 96.2 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.001349/0.001348, allocations: 197.6 kB / 16.68 MB, free: 5.969 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.512/1.512, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4089/0.4089, allocations: 54.94 MB / 324.8 MB, free: 68 kB / 254.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.001527/0.001527, allocations: 66.67 kB / 456.2 MB, free: 38.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1585, allocations: 59.59 MB / 0.5037 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterDerivativeCheck): time 0.002391/0.161, allocations: 1.258 MB / 0.5049 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003455/0.1645, allocations: 3.267 MB / 0.5081 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.476e-05/0.1645, allocations: 1.375 kB / 0.5081 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.339e-05/0.1645, allocations: 7.922 kB / 0.5081 GB, free: 6.004 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.213e-05/0.1646, allocations: 3.938 kB / 0.5082 GB, free: 6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005372/0.1651, allocations: 97.67 kB / 0.5082 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.376e-05/0.1652, allocations: 37.77 kB / 0.5083 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.1653, allocations: 2.75 kB / 0.5083 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.083e-05/0.1653, allocations: 29.48 kB / 0.5083 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.972e-05/0.1654, allocations: 21.41 kB / 0.5083 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.1654, allocations: 2.75 kB / 0.5083 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.1657, allocations: 72.84 kB / 0.5084 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.1657, allocations: 9.391 kB / 0.5084 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.1658, allocations: 10.91 kB / 0.5084 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.166, allocations: 71.69 kB / 0.5085 GB, free: 5.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.166, allocations: 0 / 0.5085 GB, free: 5.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.166, allocations: 0 / 0.5085 GB, free: 5.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1661, allocations: 1.25 kB / 0.5085 GB, free: 5.785 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.0004108/0.1665, allocations: 351.8 kB / 0.5088 GB, free: 5.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.1665, allocations: 8.844 kB / 0.5088 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.1667, allocations: 6.094 kB / 0.5088 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.431e-05/0.1668, allocations: 168.3 kB / 0.509 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.1668, allocations: 6 kB / 0.509 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.1668, allocations: 8.125 kB / 0.509 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.167, allocations: 54.48 kB / 0.5091 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.167, allocations: 0 / 0.5091 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.167, allocations: 9.438 kB / 0.5091 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.167, allocations: 0 / 0.5091 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.368e-05/0.1671, allocations: 18.34 kB / 0.5091 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.1672, allocations: 166.1 kB / 0.5093 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.1673, allocations: 56.11 kB / 0.5093 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.56e-05/0.1674, allocations: 23.81 kB / 0.5093 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006561/0.168, allocations: 0.5934 MB / 0.5099 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.1681, allocations: 36.16 kB / 0.5099 GB, free: 4.168 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.084e-06/0.1681, allocations: 0 / 0.5099 GB, free: 4.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005831/0.1687, allocations: 299.9 kB / 0.5102 GB, free: 3.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.1687, allocations: 56.91 kB / 0.5103 GB, free: 3.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.1688, allocations: 106.1 kB / 0.5104 GB, free: 3.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.1688, allocations: 27.08 kB / 0.5104 GB, free: 3.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.7e-05/0.1688, allocations: 89.31 kB / 0.5105 GB, free: 3.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.1688, allocations: 26.2 kB / 0.5105 GB, free: 3.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.1689, allocations: 26.06 kB / 0.5105 GB, free: 3.531 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.586e-05/0.1689, allocations: 320 kB / 0.5109 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.951e-05/0.169, allocations: 11.81 kB / 0.5109 GB, free: 3.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.958e-05/0.169, allocations: 57.48 kB / 0.5109 GB, free: 3.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.972e-05/0.1691, allocations: 69.64 kB / 0.511 GB, free: 3.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1691, allocations: 1.531 kB / 0.511 GB, free: 3.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001292/0.1693, allocations: 98.19 kB / 0.5111 GB, free: 3.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1693, allocations: 8 kB / 0.5111 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1693, allocations: 0 / 0.5111 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1693, allocations: 4 kB / 0.5111 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.907e-05/0.1694, allocations: 23.94 kB / 0.5111 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1694, allocations: 3.984 kB / 0.5111 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.731e-05/0.1694, allocations: 7.938 kB / 0.5111 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1695, allocations: 4 kB / 0.5111 GB, free: 2.957 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 6.375e-05/0.1695, allocations: 129.8 kB / 0.5113 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.1696, allocations: 0 / 0.5113 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.1696, allocations: 7.969 kB / 0.5113 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.1696, allocations: 4 kB / 0.5113 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1696, allocations: 448 / 0.5113 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.1696, allocations: 3.938 kB / 0.5113 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.1698, allocations: 173.7 kB / 0.5114 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1698, allocations: 4 kB / 0.5114 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.788e-05/0.1699, allocations: 15.98 kB / 0.5115 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1699, allocations: 3.938 kB / 0.5115 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.1699, allocations: 8.281 kB / 0.5115 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1699, allocations: 0 / 0.5115 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1699, allocations: 0 / 0.5115 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.1701, allocations: 183.3 kB / 0.5116 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.1701, allocations: 81.11 kB / 0.5117 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.1701, allocations: 3.938 kB / 0.5117 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.1703, allocations: 12.03 kB / 0.5117 GB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.1703, allocations: 4 kB / 0.5117 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.1703, allocations: 7.938 kB / 0.5117 GB, free: 2.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.191e-05/0.1703, allocations: 75.28 kB / 0.5118 GB, free: 2.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1703, allocations: 4 kB / 0.5118 GB, free: 2.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.1706, allocations: 12 kB / 0.5118 GB, free: 2.148 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.0001193/0.1707, allocations: 99.23 kB / 0.5119 GB, free: 2.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.1708, allocations: 52.31 kB / 0.512 GB, free: 1.988 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1708, allocations: 4 kB / 0.512 GB, free: 1.984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.08e-05/0.1708, allocations: 19.94 kB / 0.512 GB, free: 1.965 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.1712, allocations: 7.984 kB / 0.512 GB, free: 1.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005302/0.1717, allocations: 314.4 kB / 0.5123 GB, free: 1.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.1719, allocations: 0.6884 MB / 0.513 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.152e-05/0.1719, allocations: 8 kB / 0.513 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.1719, allocations: 11.44 kB / 0.513 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1719, allocations: 0 / 0.513 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of Templates: time 0.003278/0.1752, allocations: 0.6277 MB / 0.5136 GB, free: 272 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)