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.001446/0.001446, allocations: 107.3 kB / 16.41 MB, free: 6.504 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.001317/0.001317, allocations: 181.8 kB / 17.34 MB, free: 5.727 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.491/1.491, 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-master/package.mo): time 0.856/0.856, allocations: 135.2 MB / 426.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 66.39 kB / 0.5863 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.173, allocations: 80.93 MB / 0.6653 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002553/0.1755, allocations: 1.262 MB / 0.6666 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00422/0.1798, allocations: 3.263 MB / 0.6697 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.1798, allocations: 4 kB / 0.6697 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.277e-05/0.1798, allocations: 11.86 kB / 0.6698 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.359e-05/0.1799, allocations: 7.922 kB / 0.6698 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.1804, allocations: 111.5 kB / 0.6699 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.222e-05/0.1805, allocations: 27.92 kB / 0.6699 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.1805, allocations: 4 kB / 0.6699 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.03e-05/0.1806, allocations: 23.91 kB / 0.6699 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.637e-05/0.1806, allocations: 19.92 kB / 0.6699 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.1806, allocations: 4 kB / 0.6699 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.1809, allocations: 75.8 kB / 0.67 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.1809, allocations: 8 kB / 0.67 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.1809, allocations: 15.92 kB / 0.67 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.1811, allocations: 67.8 kB / 0.6701 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1811, allocations: 4 kB / 0.6701 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1811, allocations: 0 / 0.6701 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.1811, allocations: 0 / 0.6701 GB, free: 0.8438 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.0005241/0.1816, allocations: 347.4 kB / 0.6704 GB, free: 468 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1817, allocations: 13.11 kB / 0.6705 GB, free: 456 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.1818, allocations: 12.89 kB / 0.6705 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.182, allocations: 164.4 kB / 0.6706 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.182, allocations: 4.312 kB / 0.6706 GB, free: 236 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.182, allocations: 8.375 kB / 0.6706 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.1822, allocations: 53.8 kB / 0.6707 GB, free: 168 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1822, allocations: 0 / 0.6707 GB, free: 168 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1822, allocations: 4 kB / 0.6707 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1822, allocations: 3.938 kB / 0.6707 GB, free: 160 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.493e-05/0.1823, allocations: 27.95 kB / 0.6707 GB, free: 132 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002423/0.1825, allocations: 165.7 kB / 0.6709 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.1826, allocations: 50.5 kB / 0.6709 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/0.1826, allocations: 12.84 kB / 0.6709 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007995/0.1834, allocations: 0.5907 MB / 0.6715 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.1835, allocations: 42.56 kB / 0.6716 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1835, allocations: 0 / 0.6716 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0006397/0.1841, allocations: 306.3 kB / 0.6719 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.1842, allocations: 55.41 kB / 0.6719 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.213e-05/0.1842, allocations: 93.86 kB / 0.672 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.1843, allocations: 33.7 kB / 0.672 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.1843, allocations: 88.09 kB / 0.6721 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.1843, allocations: 31.72 kB / 0.6721 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.1844, allocations: 29.67 kB / 0.6722 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.1846, allocations: 318.8 kB / 0.6725 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.913e-05/0.1846, allocations: 12 kB / 0.6725 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.458e-05/0.1847, allocations: 49.14 kB / 0.6725 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.715e-05/0.1848, allocations: 81.2 kB / 0.6726 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1848, allocations: 0 / 0.6726 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001481/0.1849, allocations: 97.62 kB / 0.6727 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1849, allocations: 8.031 kB / 0.6727 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.185, allocations: 0 / 0.6727 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.185, allocations: 7.938 kB / 0.6727 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.1851, allocations: 23.92 kB / 0.6727 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1851, allocations: 4 kB / 0.6727 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.98e-05/0.1851, allocations: 7.938 kB / 0.6727 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.1851, allocations: 4.438 kB / 0.6728 GB, free: 13.73 MB / 0.5137 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 9.06e-05/0.1852, allocations: 113.8 kB / 0.6729 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.1853, allocations: 11.95 kB / 0.6729 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.1853, allocations: 7.969 kB / 0.6729 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1853, allocations: 0 / 0.6729 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1853, allocations: 3.938 kB / 0.6729 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.1853, allocations: 7.938 kB / 0.6729 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.1856, allocations: 169.8 kB / 0.6731 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1856, allocations: 0 / 0.6731 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.743e-05/0.1857, allocations: 19.98 kB / 0.6731 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1857, allocations: 0 / 0.6731 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1857, allocations: 4 kB / 0.6731 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.1857, allocations: 0 / 0.6731 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1857, allocations: 4 kB / 0.6731 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.1859, allocations: 175.5 kB / 0.6732 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.186, allocations: 81.06 kB / 0.6733 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.186, allocations: 4 kB / 0.6733 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.1861, allocations: 7.969 kB / 0.6733 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.1862, allocations: 8 kB / 0.6733 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.1862, allocations: 3.938 kB / 0.6733 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.151e-05/0.1862, allocations: 87.27 kB / 0.6734 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1862, allocations: 0 / 0.6734 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000236/0.1865, allocations: 12 kB / 0.6734 GB, free: 12.93 MB / 0.5137 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.0001339/0.1866, allocations: 99.25 kB / 0.6735 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.1867, allocations: 39.92 kB / 0.6736 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1867, allocations: 0 / 0.6736 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.44e-05/0.1868, allocations: 12.19 kB / 0.6736 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.187, allocations: 15.98 kB / 0.6736 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006166/0.1876, allocations: 351.9 kB / 0.6739 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.188, allocations: 0.6807 MB / 0.6746 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.188, allocations: 15.44 kB / 0.6746 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.188, allocations: 0 / 0.6746 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of Templates: time 0.002512/0.1905, allocations: 0.7814 MB / 0.6754 GB, free: 10.87 MB / 0.5137 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)