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.001084/0.001084, allocations: 105.5 kB / 16.41 MB, free: 6.5 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.00103/0.00103, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.818/0.818, allocations: 132.2 MB / 423.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 71.83 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1638, allocations: 80.22 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002531/0.1664, allocations: 1.254 MB / 0.6615 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003665/0.1701, allocations: 3.263 MB / 0.6647 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.1702, allocations: 0 / 0.6647 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.1702, allocations: 0 / 0.6647 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.183e-05/0.1703, allocations: 7.922 kB / 0.6647 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005133/0.1708, allocations: 114.3 kB / 0.6648 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.477e-05/0.1709, allocations: 31.92 kB / 0.6649 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/0.1709, allocations: 7.984 kB / 0.6649 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.43e-05/0.171, allocations: 15.98 kB / 0.6649 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.909e-05/0.1711, allocations: 15.92 kB / 0.6649 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.1711, allocations: 0 / 0.6649 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.1713, allocations: 87.73 kB / 0.665 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.1713, allocations: 7.984 kB / 0.665 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.1714, allocations: 19.92 kB / 0.665 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.1716, allocations: 71.81 kB / 0.6651 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1716, allocations: 3.984 kB / 0.6651 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1716, allocations: 0 / 0.6651 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.1716, allocations: 0 / 0.6651 GB, free: 5.352 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.0003867/0.172, allocations: 339.6 kB / 0.6654 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.172, allocations: 8.031 kB / 0.6654 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.1722, allocations: 8.844 kB / 0.6654 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.1723, allocations: 172.3 kB / 0.6656 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1723, allocations: 4.375 kB / 0.6656 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.1723, allocations: 8.375 kB / 0.6656 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.1725, allocations: 65.66 kB / 0.6657 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1725, allocations: 3.984 kB / 0.6657 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1725, allocations: 0 / 0.6657 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1725, allocations: 4 kB / 0.6657 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.585e-05/0.1726, allocations: 19.92 kB / 0.6657 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.1727, allocations: 165.7 kB / 0.6658 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.607e-05/0.1728, allocations: 54.56 kB / 0.6659 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.643e-05/0.1729, allocations: 8.859 kB / 0.6659 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006898/0.1736, allocations: 0.6025 MB / 0.6665 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.1736, allocations: 38.56 kB / 0.6665 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1736, allocations: 0 / 0.6665 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005744/0.1742, allocations: 302.2 kB / 0.6668 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.1743, allocations: 51.41 kB / 0.6669 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.1743, allocations: 101.8 kB / 0.667 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1744, allocations: 25.7 kB / 0.667 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.1744, allocations: 92.05 kB / 0.6671 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.1744, allocations: 27.56 kB / 0.6671 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.1745, allocations: 25.7 kB / 0.6671 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1746, allocations: 322.8 kB / 0.6674 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.028e-05/0.1746, allocations: 15.98 kB / 0.6675 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.884e-05/0.1747, allocations: 53.08 kB / 0.6675 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.551e-05/0.1748, allocations: 69.09 kB / 0.6676 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1748, allocations: 0 / 0.6676 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000128/0.1749, allocations: 101.5 kB / 0.6677 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.175, allocations: 4 kB / 0.6677 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.175, allocations: 0 / 0.6677 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.175, allocations: 4 kB / 0.6677 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.1751, allocations: 24.05 kB / 0.6677 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1751, allocations: 8 kB / 0.6677 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.923e-05/0.1751, allocations: 3.938 kB / 0.6677 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.547e-06/0.1751, allocations: 8 kB / 0.6677 GB, free: 2.242 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.682e-05/0.1752, allocations: 113.8 kB / 0.6678 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.1753, allocations: 7.906 kB / 0.6678 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.1753, allocations: 12.23 kB / 0.6678 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1753, allocations: 0 / 0.6678 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1753, allocations: 0 / 0.6678 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1753, allocations: 11.92 kB / 0.6679 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.1756, allocations: 173.7 kB / 0.668 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1756, allocations: 0 / 0.668 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.684e-05/0.1757, allocations: 19.94 kB / 0.668 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1757, allocations: 0 / 0.668 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.1757, allocations: 0 / 0.668 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1757, allocations: 0 / 0.668 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1757, allocations: 3.984 kB / 0.668 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.1759, allocations: 175.9 kB / 0.6682 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.1759, allocations: 89.05 kB / 0.6683 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.176, allocations: 0 / 0.6683 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.1761, allocations: 8 kB / 0.6683 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.1761, allocations: 7.984 kB / 0.6683 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1761, allocations: 7.938 kB / 0.6683 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.544e-05/0.1762, allocations: 79.28 kB / 0.6684 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1762, allocations: 0 / 0.6684 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002399/0.1764, allocations: 12 kB / 0.6684 GB, free: 1.441 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.000134/0.1765, allocations: 103.2 kB / 0.6685 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.1767, allocations: 43.92 kB / 0.6685 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1767, allocations: 0 / 0.6685 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.718e-05/0.1767, allocations: 19.97 kB / 0.6686 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.177, allocations: 8 kB / 0.6686 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/0.1776, allocations: 336.5 kB / 0.6689 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.1779, allocations: 0.6884 MB / 0.6696 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.1779, allocations: 11.44 kB / 0.6696 GB, free: 176 kB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.1779, allocations: 3.938 kB / 0.6696 GB, free: 172 kB / 0.4981 GB Notification: Performance of Templates: time 0.002157/0.1801, allocations: 0.7851 MB / 0.6703 GB, free: 15.38 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)