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.006498/0.006498, allocations: 100.1 kB / 15.73 MB, free: 6.035 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.001396/0.001396, allocations: 187.3 kB / 16.67 MB, free: 5.965 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8473/0.8473, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 66.12 kB / 0.5813 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1606, allocations: 80.21 MB / 0.6596 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002436/0.1631, allocations: 1.261 MB / 0.6609 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003557/0.1667, allocations: 3.263 MB / 0.6641 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/0.1667, allocations: 7.938 kB / 0.6641 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.1668, allocations: 0 / 0.6641 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.211e-05/0.1668, allocations: 3.938 kB / 0.6641 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005764/0.1674, allocations: 111.5 kB / 0.6642 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.321e-05/0.1675, allocations: 35.84 kB / 0.6642 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.1676, allocations: 7.984 kB / 0.6642 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.697e-05/0.1676, allocations: 15.94 kB / 0.6642 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.099e-05/0.1677, allocations: 19.92 kB / 0.6642 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.1677, allocations: 0 / 0.6642 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.168, allocations: 79.8 kB / 0.6643 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.168, allocations: 11.98 kB / 0.6643 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.168, allocations: 15.92 kB / 0.6644 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.1682, allocations: 79.72 kB / 0.6644 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1682, allocations: 4 kB / 0.6644 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1682, allocations: 0 / 0.6644 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.1683, allocations: 0 / 0.6644 GB, free: 8.609 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.0004462/0.1687, allocations: 339.6 kB / 0.6648 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1688, allocations: 8.031 kB / 0.6648 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.1689, allocations: 12.83 kB / 0.6648 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.169, allocations: 168.3 kB / 0.6649 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.169, allocations: 4.375 kB / 0.6649 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.169, allocations: 8.375 kB / 0.6649 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.1692, allocations: 53.8 kB / 0.665 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1692, allocations: 3.984 kB / 0.665 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.1692, allocations: 7.938 kB / 0.665 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1692, allocations: 0 / 0.665 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.537e-05/0.1693, allocations: 19.92 kB / 0.665 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.1695, allocations: 165.7 kB / 0.6652 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.931e-05/0.1696, allocations: 50.56 kB / 0.6652 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.1696, allocations: 20.84 kB / 0.6653 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000722/0.1704, allocations: 0.5909 MB / 0.6658 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.1704, allocations: 38.56 kB / 0.6659 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1704, allocations: 3.938 kB / 0.6659 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006016/0.171, allocations: 302.2 kB / 0.6662 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.1711, allocations: 51.41 kB / 0.6662 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.54e-05/0.1712, allocations: 101.8 kB / 0.6663 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.1712, allocations: 25.7 kB / 0.6663 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.1713, allocations: 88.05 kB / 0.6664 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.1713, allocations: 27.55 kB / 0.6664 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.1713, allocations: 25.72 kB / 0.6665 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1715, allocations: 326.8 kB / 0.6668 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.942e-05/0.1715, allocations: 12 kB / 0.6668 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.466e-05/0.1716, allocations: 56.53 kB / 0.6668 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.803e-05/0.1717, allocations: 77.02 kB / 0.6669 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1717, allocations: 0 / 0.6669 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001375/0.1718, allocations: 85.56 kB / 0.667 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1718, allocations: 11.98 kB / 0.667 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1719, allocations: 7.875 kB / 0.667 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1719, allocations: 4 kB / 0.667 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.575e-05/0.172, allocations: 20.56 kB / 0.667 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.172, allocations: 4 kB / 0.667 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.797e-05/0.172, allocations: 7.938 kB / 0.6671 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.172, allocations: 8 kB / 0.6671 GB, free: 5.508 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.465e-05/0.1721, allocations: 121.8 kB / 0.6672 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.1721, allocations: 3.906 kB / 0.6672 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.1722, allocations: 11.97 kB / 0.6672 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1722, allocations: 288 / 0.6672 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1722, allocations: 0 / 0.6672 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.1722, allocations: 11.92 kB / 0.6672 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.1725, allocations: 177.7 kB / 0.6674 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1725, allocations: 0 / 0.6674 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-05/0.1726, allocations: 15.98 kB / 0.6674 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1726, allocations: 4 kB / 0.6674 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.1726, allocations: 0 / 0.6674 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1726, allocations: 0 / 0.6674 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1726, allocations: 0 / 0.6674 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.1728, allocations: 167.4 kB / 0.6676 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.616e-05/0.1728, allocations: 93.05 kB / 0.6676 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.1729, allocations: 0 / 0.6676 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.173, allocations: 8 kB / 0.6676 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.173, allocations: 3.984 kB / 0.6677 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-06/0.173, allocations: 7.938 kB / 0.6677 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.715e-05/0.1731, allocations: 79.28 kB / 0.6677 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1731, allocations: 0 / 0.6677 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002428/0.1733, allocations: 12 kB / 0.6677 GB, free: 4.711 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.0001226/0.1734, allocations: 103.2 kB / 0.6678 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.1736, allocations: 51.84 kB / 0.6679 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1736, allocations: 0 / 0.6679 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.574e-05/0.1736, allocations: 16 kB / 0.6679 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.1739, allocations: 4 kB / 0.6679 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/0.1744, allocations: 318.8 kB / 0.6682 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.1747, allocations: 0.6885 MB / 0.6689 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.237e-05/0.1747, allocations: 7.969 kB / 0.6689 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.1747, allocations: 19.38 kB / 0.6689 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1748, allocations: 7.938 kB / 0.6689 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of Templates: time 0.002635/0.1774, allocations: 0.6081 MB / 0.6695 GB, free: 2.836 MB / 0.4981 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)