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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.000856/0.000856, allocations: 98.45 kB / 15.05 MB, free: 1.105 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.0008532/0.0008532, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.191/1.191, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8298/0.8298, allocations: 135.2 MB / 426.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000442/0.0004421, allocations: 8 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1572, allocations: 82.32 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001124/0.1583, allocations: 0.9627 MB / 0.5881 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.1611, allocations: 2.828 MB / 0.5909 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.776e-05/0.1611, allocations: 4 kB / 0.5909 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.1612, allocations: 0 / 0.5909 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.634e-05/0.1612, allocations: 11.94 kB / 0.5909 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.1616, allocations: 87.69 kB / 0.591 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.48e-05/0.1616, allocations: 19.98 kB / 0.591 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.1617, allocations: 3.984 kB / 0.591 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.534e-05/0.1617, allocations: 23.92 kB / 0.591 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.063e-05/0.1618, allocations: 11.98 kB / 0.591 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.1618, allocations: 8 kB / 0.5911 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.1619, allocations: 59.89 kB / 0.5911 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.162, allocations: 11.92 kB / 0.5911 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.162, allocations: 37.64 kB / 0.5912 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.133e-05/0.1621, allocations: 32.23 kB / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.1621, allocations: 4 kB / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1621, allocations: 0 / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.1621, allocations: 0 / 0.5912 GB, free: 15 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.0002967/0.1624, allocations: 343.3 kB / 0.5915 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.1625, allocations: 8.031 kB / 0.5915 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.593e-05/0.1626, allocations: 7.984 kB / 0.5915 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.999e-05/0.1626, allocations: 167 kB / 0.5917 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1627, allocations: 4 kB / 0.5917 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.1627, allocations: 4 kB / 0.5917 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.1628, allocations: 53.67 kB / 0.5918 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.1628, allocations: 0 / 0.5918 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1628, allocations: 11.94 kB / 0.5918 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1628, allocations: 0 / 0.5918 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.91e-05/0.1629, allocations: 15.98 kB / 0.5918 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.163, allocations: 173.5 kB / 0.5919 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.343e-05/0.1631, allocations: 50.56 kB / 0.592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005966/0.1637, allocations: 0.5832 MB / 0.5926 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1638, allocations: 42.5 kB / 0.5926 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 2.274e-06/0.1638, allocations: 0 / 0.5926 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004786/0.1643, allocations: 306 kB / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.1643, allocations: 55.39 kB / 0.5929 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.961e-05/0.1644, allocations: 101.8 kB / 0.593 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.1644, allocations: 25.7 kB / 0.5931 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.1644, allocations: 88.14 kB / 0.5932 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.1644, allocations: 27.55 kB / 0.5932 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.1645, allocations: 8 kB / 0.5932 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.156e-05/0.1646, allocations: 310.8 kB / 0.5935 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/0.1646, allocations: 15.98 kB / 0.5935 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.133e-05/0.1646, allocations: 53.14 kB / 0.5935 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.575e-05/0.1647, allocations: 23.94 kB / 0.5936 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1647, allocations: 3.938 kB / 0.5936 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001157/0.1648, allocations: 101.5 kB / 0.5937 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.1648, allocations: 4 kB / 0.5937 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1648, allocations: 0 / 0.5937 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1649, allocations: 7.953 kB / 0.5937 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.1649, allocations: 24.11 kB / 0.5937 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1649, allocations: 4 kB / 0.5937 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.505e-05/0.165, allocations: 0 / 0.5937 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.165, allocations: 7.938 kB / 0.5937 GB, free: 12.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.93e-05/0.1651, allocations: 113.8 kB / 0.5938 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.1651, allocations: 4 kB / 0.5938 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.1651, allocations: 7.969 kB / 0.5938 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1651, allocations: 3.953 kB / 0.5938 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1651, allocations: 0 / 0.5938 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1651, allocations: 7.984 kB / 0.5938 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.1654, allocations: 173.7 kB / 0.594 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1654, allocations: 0 / 0.594 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.767e-05/0.1655, allocations: 19.98 kB / 0.594 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1655, allocations: 448 / 0.594 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.1655, allocations: 3.938 kB / 0.594 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1655, allocations: 0 / 0.594 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1655, allocations: 7.953 kB / 0.594 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.1657, allocations: 175.4 kB / 0.5942 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.952e-05/0.1657, allocations: 81.11 kB / 0.5943 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.1657, allocations: 8.031 kB / 0.5943 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.574e-05/0.1658, allocations: 4 kB / 0.5943 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.1658, allocations: 0 / 0.5943 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.1659, allocations: 7.953 kB / 0.5943 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.697e-05/0.1659, allocations: 87.27 kB / 0.5944 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1659, allocations: 0 / 0.5944 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002147/0.1661, allocations: 8 kB / 0.5944 GB, free: 11.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.909e-05/0.1662, allocations: 107.8 kB / 0.5945 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.854e-05/0.1663, allocations: 43.86 kB / 0.5945 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1663, allocations: 0 / 0.5945 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.072e-05/0.1664, allocations: 19.98 kB / 0.5946 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.1665, allocations: 0 / 0.5946 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004941/0.167, allocations: 390.8 kB / 0.5949 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.1673, allocations: 0.6887 MB / 0.5956 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.042e-05/0.1673, allocations: 8 kB / 0.5956 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.1674, allocations: 11.44 kB / 0.5956 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1674, allocations: 0 / 0.5956 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of Templates: time 0.002292/0.1697, allocations: 0.5585 MB / 0.5962 GB, free: 9.352 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: