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.008101/0.008101, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001227/0.001227, allocations: 188.6 kB / 16.67 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.53/1.53, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4408/0.4408, allocations: 54.95 MB / 324.8 MB, free: 15.96 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.001477/0.001477, allocations: 64.23 kB / 456.2 MB, free: 38.76 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1474, allocations: 59.59 MB / 0.5037 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterDerivativeCheck): time 0.002355/0.1498, allocations: 1.253 MB / 0.5049 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003568/0.1534, allocations: 3.269 MB / 0.5081 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.695e-05/0.1534, allocations: 0 / 0.5081 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.1535, allocations: 7.922 kB / 0.5081 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.354e-05/0.1535, allocations: 5.094 kB / 0.5081 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005891/0.1541, allocations: 101.2 kB / 0.5082 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.681e-05/0.1542, allocations: 33.72 kB / 0.5082 GB, free: 6.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.044e-05/0.1543, allocations: 2.75 kB / 0.5082 GB, free: 6.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.316e-05/0.1543, allocations: 25.48 kB / 0.5083 GB, free: 6.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.819e-05/0.1544, allocations: 21.47 kB / 0.5083 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.1544, allocations: 2.75 kB / 0.5083 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002821/0.1547, allocations: 76.81 kB / 0.5084 GB, free: 6.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.1548, allocations: 10.67 kB / 0.5084 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.1548, allocations: 14.81 kB / 0.5084 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.155, allocations: 62.16 kB / 0.5084 GB, free: 6.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1551, allocations: 5.312 kB / 0.5084 GB, free: 6.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1551, allocations: 0 / 0.5084 GB, free: 6.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.1551, allocations: 0 / 0.5084 GB, free: 6.035 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.0004158/0.1555, allocations: 355.9 kB / 0.5088 GB, free: 5.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1556, allocations: 9.625 kB / 0.5088 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.1557, allocations: 8.969 kB / 0.5088 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.253e-05/0.1558, allocations: 165.7 kB / 0.509 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1558, allocations: 1.75 kB / 0.509 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.1558, allocations: 8.5 kB / 0.509 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.156, allocations: 52.8 kB / 0.509 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.156, allocations: 1.375 kB / 0.509 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.156, allocations: 4 kB / 0.509 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.156, allocations: 5.375 kB / 0.509 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.969e-05/0.1561, allocations: 22.95 kB / 0.5091 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.1563, allocations: 164.5 kB / 0.5092 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.1564, allocations: 52.12 kB / 0.5093 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/0.1564, allocations: 24.12 kB / 0.5093 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006836/0.1571, allocations: 0.5942 MB / 0.5099 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.1571, allocations: 35.56 kB / 0.5099 GB, free: 4.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.1572, allocations: 1.688 kB / 0.5099 GB, free: 4.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006209/0.1578, allocations: 294.2 kB / 0.5102 GB, free: 4.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.1578, allocations: 57.14 kB / 0.5102 GB, free: 4.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.996e-05/0.1579, allocations: 97.05 kB / 0.5103 GB, free: 3.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.1579, allocations: 35.36 kB / 0.5104 GB, free: 3.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.639e-05/0.1579, allocations: 85.39 kB / 0.5104 GB, free: 3.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.158, allocations: 34.33 kB / 0.5105 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.158, allocations: 26.12 kB / 0.5105 GB, free: 3.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.556e-05/0.1581, allocations: 319.9 kB / 0.5108 GB, free: 3.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.1e-05/0.1581, allocations: 16.47 kB / 0.5108 GB, free: 3.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.387e-05/0.1582, allocations: 56.33 kB / 0.5109 GB, free: 3.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.406e-05/0.1582, allocations: 71.3 kB / 0.5109 GB, free: 3.309 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1583, allocations: 0 / 0.5109 GB, free: 3.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001106/0.1584, allocations: 97.55 kB / 0.511 GB, free: 3.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1584, allocations: 4 kB / 0.511 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1584, allocations: 0 / 0.511 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.1584, allocations: 7.938 kB / 0.511 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/0.1585, allocations: 16 kB / 0.5111 GB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1585, allocations: 7.984 kB / 0.5111 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.1586, allocations: 7.938 kB / 0.5111 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.1586, allocations: 4 kB / 0.5111 GB, free: 3.16 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 5.278e-05/0.1586, allocations: 125.9 kB / 0.5112 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.1587, allocations: 11.84 kB / 0.5112 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.1587, allocations: 7.969 kB / 0.5112 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1587, allocations: 0 / 0.5112 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1587, allocations: 0 / 0.5112 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1587, allocations: 3.938 kB / 0.5112 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.1589, allocations: 173.9 kB / 0.5114 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1589, allocations: 0 / 0.5114 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.79e-05/0.159, allocations: 19.98 kB / 0.5114 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.159, allocations: 0 / 0.5114 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.159, allocations: 448 / 0.5114 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.159, allocations: 4 kB / 0.5114 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.159, allocations: 3.984 kB / 0.5114 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.1592, allocations: 183.4 kB / 0.5116 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.1592, allocations: 81.02 kB / 0.5117 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.1593, allocations: 0 / 0.5117 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1594, allocations: 12.03 kB / 0.5117 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.1594, allocations: 4 kB / 0.5117 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.1594, allocations: 7.938 kB / 0.5117 GB, free: 2.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.049e-05/0.1594, allocations: 79.28 kB / 0.5118 GB, free: 2.367 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1594, allocations: 3.938 kB / 0.5118 GB, free: 2.363 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.1597, allocations: 12 kB / 0.5118 GB, free: 2.352 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 9.88e-05/0.1598, allocations: 99.23 kB / 0.5119 GB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.1599, allocations: 44.08 kB / 0.5119 GB, free: 2.199 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1599, allocations: 4.25 kB / 0.5119 GB, free: 2.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.037e-05/0.1599, allocations: 23.92 kB / 0.5119 GB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.1602, allocations: 9.25 kB / 0.512 GB, free: 2.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004753/0.1607, allocations: 314.6 kB / 0.5123 GB, free: 1.832 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.1608, allocations: 0.6923 MB / 0.5129 GB, free: 1.113 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.165e-05/0.1609, allocations: 4 kB / 0.5129 GB, free: 1.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.083e-05/0.1609, allocations: 11.44 kB / 0.5129 GB, free: 1.098 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1609, allocations: 0 / 0.5129 GB, free: 1.098 MB / 382.1 MB Notification: Performance of Templates: time 0.002582/0.1635, allocations: 0.6237 MB / 0.5136 GB, free: 488 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)