Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004953/0.004953, allocations: 100 kB / 15.73 MB, free: 6.008 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.001033/0.001033, allocations: 192.8 kB / 16.67 MB, free: 5.926 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.801/0.801, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 62.91 kB / 0.5813 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.166, allocations: 80.21 MB / 0.6596 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002225/0.1683, allocations: 1.252 MB / 0.6609 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003713/0.172, allocations: 3.271 MB / 0.6641 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.657e-05/0.172, allocations: 0 / 0.6641 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.191e-05/0.1721, allocations: 3.938 kB / 0.6641 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.408e-05/0.1722, allocations: 3.984 kB / 0.6641 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005078/0.1727, allocations: 111.4 kB / 0.6642 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.895e-05/0.1728, allocations: 35.91 kB / 0.6642 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.731e-05/0.1728, allocations: 7.984 kB / 0.6642 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.094e-05/0.1729, allocations: 15.98 kB / 0.6642 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.961e-05/0.1729, allocations: 11.94 kB / 0.6642 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.1729, allocations: 0 / 0.6642 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.1732, allocations: 83.73 kB / 0.6643 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.1732, allocations: 7.984 kB / 0.6643 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.1733, allocations: 19.92 kB / 0.6643 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.1734, allocations: 79.78 kB / 0.6644 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1735, allocations: 0 / 0.6644 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1735, allocations: 0 / 0.6644 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.1735, allocations: 0 / 0.6644 GB, free: 5.348 MB / 0.4981 GB 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.0004422/0.1739, allocations: 347.3 kB / 0.6648 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.174, allocations: 16.02 kB / 0.6648 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.1741, allocations: 4.938 kB / 0.6648 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.1742, allocations: 160.4 kB / 0.6649 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1742, allocations: 4.375 kB / 0.6649 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.1742, allocations: 4.375 kB / 0.6649 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1744, allocations: 65.67 kB / 0.665 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1744, allocations: 0 / 0.665 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1744, allocations: 4 kB / 0.665 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1744, allocations: 0 / 0.665 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.457e-05/0.1745, allocations: 15.98 kB / 0.665 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.1747, allocations: 173.5 kB / 0.6652 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.1748, allocations: 58.5 kB / 0.6652 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.1748, allocations: 20.84 kB / 0.6653 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006838/0.1755, allocations: 0.5871 MB / 0.6658 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.1755, allocations: 38.56 kB / 0.6659 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1755, allocations: 0 / 0.6659 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006012/0.1761, allocations: 306.2 kB / 0.6662 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.1762, allocations: 51.41 kB / 0.6662 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.719e-05/0.1763, allocations: 101.8 kB / 0.6663 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1763, allocations: 29.7 kB / 0.6663 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.1764, allocations: 88.09 kB / 0.6664 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.1764, allocations: 31.73 kB / 0.6664 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.1764, allocations: 21.72 kB / 0.6665 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1766, allocations: 326.8 kB / 0.6668 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.915e-05/0.1766, allocations: 15.94 kB / 0.6668 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.085e-05/0.1766, allocations: 49.14 kB / 0.6668 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.608e-05/0.1767, allocations: 77.25 kB / 0.6669 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1768, allocations: 3.938 kB / 0.6669 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001315/0.1769, allocations: 101.5 kB / 0.667 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1769, allocations: 4 kB / 0.667 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1769, allocations: 4 kB / 0.667 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1769, allocations: 0 / 0.667 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.494e-05/0.177, allocations: 20.06 kB / 0.667 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.177, allocations: 8 kB / 0.6671 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.625e-05/0.1771, allocations: 3.938 kB / 0.6671 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1771, allocations: 8 kB / 0.6671 GB, free: 2.23 MB / 0.4981 GB 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.337e-05/0.1772, allocations: 117.8 kB / 0.6672 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.1772, allocations: 7.953 kB / 0.6672 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.1772, allocations: 7.969 kB / 0.6672 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1772, allocations: 0 / 0.6672 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1773, allocations: 0 / 0.6672 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1773, allocations: 7.938 kB / 0.6672 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.1776, allocations: 173.7 kB / 0.6674 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.1776, allocations: 0 / 0.6674 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.598e-05/0.1777, allocations: 24.36 kB / 0.6674 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1777, allocations: 0 / 0.6674 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1777, allocations: 0 / 0.6674 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1777, allocations: 4 kB / 0.6674 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1777, allocations: 0 / 0.6674 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.1779, allocations: 175.5 kB / 0.6676 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/0.178, allocations: 85.06 kB / 0.6676 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.178, allocations: 4 kB / 0.6676 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1781, allocations: 0 / 0.6676 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.1781, allocations: 7.984 kB / 0.6676 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.1781, allocations: 7.938 kB / 0.6677 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.224e-05/0.1782, allocations: 83.22 kB / 0.6677 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1782, allocations: 0 / 0.6677 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002731/0.1785, allocations: 12 kB / 0.6677 GB, free: 1.434 MB / 0.4981 GB 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.0001272/0.1786, allocations: 107.6 kB / 0.6679 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.1787, allocations: 44 kB / 0.6679 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1787, allocations: 0 / 0.6679 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.388e-05/0.1788, allocations: 12 kB / 0.6679 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.1791, allocations: 11.94 kB / 0.6679 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006105/0.1797, allocations: 314.1 kB / 0.6682 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.18, allocations: 0.7001 MB / 0.6689 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.196e-05/0.18, allocations: 4 kB / 0.6689 GB, free: 188 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.1801, allocations: 11.44 kB / 0.6689 GB, free: 180 kB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1801, allocations: 4 kB / 0.6689 GB, free: 176 kB / 0.4981 GB Notification: Performance of Templates: time 0.002998/0.1831, allocations: 0.6107 MB / 0.6695 GB, free: 15.56 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)