Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001119/0.001119, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001208/0.001208, allocations: 193 kB / 16.25 MB, free: 6.625 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.032/1.032, allocations: 135.1 MB / 425.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 60.09 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1717, allocations: 80.92 MB / 0.5839 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002277/0.174, allocations: 1.324 MB / 0.5852 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.1772, allocations: 3.231 MB / 0.5883 GB, free: 316 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.1773, allocations: 0 / 0.5883 GB, free: 316 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.1773, allocations: 0 / 0.5883 GB, free: 316 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.256e-05/0.1774, allocations: 4 kB / 0.5883 GB, free: 312 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.1778, allocations: 98.56 kB / 0.5884 GB, free: 216 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.421e-05/0.1779, allocations: 47.78 kB / 0.5885 GB, free: 168 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.631e-05/0.178, allocations: 3.984 kB / 0.5885 GB, free: 164 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.685e-05/0.178, allocations: 8 kB / 0.5885 GB, free: 156 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.1781, allocations: 23.91 kB / 0.5885 GB, free: 132 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.1781, allocations: 4 kB / 0.5885 GB, free: 128 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.1783, allocations: 75.81 kB / 0.5886 GB, free: 52 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.1783, allocations: 15.97 kB / 0.5886 GB, free: 36 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.1784, allocations: 11.94 kB / 0.5886 GB, free: 24 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.1785, allocations: 76.16 kB / 0.5887 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1786, allocations: 7.938 kB / 0.5887 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1786, allocations: 0 / 0.5887 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.1786, allocations: 0 / 0.5887 GB, free: 15.94 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.0004/0.179, allocations: 345.1 kB / 0.589 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.179, allocations: 8.031 kB / 0.589 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.449e-05/0.1791, allocations: 8.922 kB / 0.589 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1792, allocations: 168.3 kB / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.1793, allocations: 4.375 kB / 0.5892 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.1793, allocations: 4.375 kB / 0.5892 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.1794, allocations: 65.78 kB / 0.5893 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1794, allocations: 0 / 0.5893 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1795, allocations: 0 / 0.5893 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1795, allocations: 0 / 0.5893 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.202e-05/0.1795, allocations: 23.83 kB / 0.5893 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.1797, allocations: 165.6 kB / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.964e-05/0.1798, allocations: 46.56 kB / 0.5895 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.1798, allocations: 24.84 kB / 0.5895 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006993/0.1805, allocations: 0.5948 MB / 0.5901 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.1806, allocations: 34.5 kB / 0.5901 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.1806, allocations: 0 / 0.5901 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005524/0.1811, allocations: 306.1 kB / 0.5904 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.1812, allocations: 55.41 kB / 0.5905 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.453e-05/0.1813, allocations: 101.8 kB / 0.5906 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1813, allocations: 25.7 kB / 0.5906 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.1813, allocations: 84.14 kB / 0.5907 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.1814, allocations: 35.61 kB / 0.5907 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.1814, allocations: 21.72 kB / 0.5907 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.1815, allocations: 322.8 kB / 0.591 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.895e-05/0.1816, allocations: 16 kB / 0.591 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.98e-05/0.1816, allocations: 49.14 kB / 0.5911 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.15e-05/0.1817, allocations: 81.02 kB / 0.5912 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1817, allocations: 0 / 0.5912 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001269/0.1818, allocations: 93.47 kB / 0.5913 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1819, allocations: 11.98 kB / 0.5913 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1819, allocations: 0 / 0.5913 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1819, allocations: 0 / 0.5913 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.87e-05/0.182, allocations: 20 kB / 0.5913 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.182, allocations: 0 / 0.5913 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.985e-05/0.182, allocations: 16.44 kB / 0.5913 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.182, allocations: 8 kB / 0.5913 GB, free: 12.84 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.786e-05/0.1821, allocations: 109.8 kB / 0.5914 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.1822, allocations: 8.219 kB / 0.5914 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.1822, allocations: 7.969 kB / 0.5914 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.1822, allocations: 7.984 kB / 0.5914 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1822, allocations: 7.938 kB / 0.5914 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1822, allocations: 3.938 kB / 0.5914 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.1825, allocations: 173.7 kB / 0.5916 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1825, allocations: 4 kB / 0.5916 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-05/0.1826, allocations: 15.98 kB / 0.5916 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1826, allocations: 0 / 0.5916 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.1826, allocations: 0 / 0.5916 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1826, allocations: 4 kB / 0.5916 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1826, allocations: 3.938 kB / 0.5916 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.1828, allocations: 171.4 kB / 0.5918 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.1828, allocations: 89.14 kB / 0.5919 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.1829, allocations: 4 kB / 0.5919 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.183, allocations: 4 kB / 0.5919 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.183, allocations: 3.984 kB / 0.5919 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.183, allocations: 7.938 kB / 0.5919 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.471e-05/0.1831, allocations: 79.28 kB / 0.592 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1831, allocations: 0 / 0.592 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002295/0.1833, allocations: 12 kB / 0.592 GB, free: 12.04 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.0001259/0.1834, allocations: 107.2 kB / 0.5921 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.1836, allocations: 51.86 kB / 0.5921 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1836, allocations: 0 / 0.5921 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.147e-05/0.1836, allocations: 12 kB / 0.5922 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.1839, allocations: 10.66 kB / 0.5922 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.1845, allocations: 326.7 kB / 0.5925 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.1847, allocations: 0.6885 MB / 0.5931 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.453e-05/0.1848, allocations: 7.984 kB / 0.5932 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.1848, allocations: 11.44 kB / 0.5932 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of SimCode: time 1.593e-06/0.1848, allocations: 4 kB / 0.5932 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.002731/0.1876, allocations: 0.6139 MB / 0.5938 GB, free: 10.16 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)