Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001138, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01054/0.01054, allocations: 172.1 kB / 16.27 MB, free: 6.648 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.36/1.36, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1/1, allocations: 135.3 MB / 426.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003669, allocations: 9.531 kB / 0.5076 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1776, allocations: 82.32 MB / 0.588 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004493/0.1821, allocations: 3.68 MB / 0.5916 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001988/0.1824, allocations: 155.5 kB / 0.5917 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.577e-05/0.1824, allocations: 0 / 0.5917 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.521e-05/0.1825, allocations: 3.984 kB / 0.5917 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.989e-05/0.1826, allocations: 15.86 kB / 0.5917 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.1829, allocations: 83.75 kB / 0.5918 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.993e-05/0.183, allocations: 59.81 kB / 0.5919 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.1831, allocations: 0 / 0.5919 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.317e-05/0.1831, allocations: 15.98 kB / 0.5919 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.31e-05/0.1832, allocations: 11.92 kB / 0.5919 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.1832, allocations: 4 kB / 0.5919 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.1834, allocations: 71.78 kB / 0.592 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.856e-05/0.1835, allocations: 8 kB / 0.592 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.1835, allocations: 45.61 kB / 0.592 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.1836, allocations: 39.97 kB / 0.592 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1837, allocations: 0 / 0.592 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1837, allocations: 3.938 kB / 0.5921 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.1837, allocations: 4 kB / 0.5921 GB, free: 14.42 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003604/0.184, allocations: 327.7 kB / 0.5924 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1841, allocations: 8.031 kB / 0.5924 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.1841, allocations: 4.938 kB / 0.5924 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1843, allocations: 168.4 kB / 0.5925 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-05/0.1843, allocations: 38.19 kB / 0.5926 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.1844, allocations: 4.375 kB / 0.5926 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1845, allocations: 41.62 kB / 0.5926 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1845, allocations: 0 / 0.5926 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1845, allocations: 0 / 0.5926 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.1845, allocations: 0 / 0.5926 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.585e-05/0.1846, allocations: 23.92 kB / 0.5926 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.185, allocations: 338 kB / 0.593 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.497e-05/0.1851, allocations: 14.58 kB / 0.593 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.329e-05/0.1851, allocations: 4.859 kB / 0.593 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.681e-05/0.1852, allocations: 89.16 kB / 0.5931 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.1852, allocations: 30.56 kB / 0.5931 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 3.145e-06/0.1853, allocations: 3.984 kB / 0.5931 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001614/0.1854, allocations: 45.64 kB / 0.5931 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.1855, allocations: 51.41 kB / 0.5932 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.1856, allocations: 105.8 kB / 0.5933 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.1856, allocations: 25.7 kB / 0.5933 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.1857, allocations: 88.08 kB / 0.5934 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/0.1857, allocations: 3.906 kB / 0.5934 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.1857, allocations: 9.719 kB / 0.5934 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1859, allocations: 326.9 kB / 0.5937 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.1859, allocations: 8 kB / 0.5937 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.135e-05/0.186, allocations: 13.72 kB / 0.5938 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.745e-05/0.186, allocations: 29.64 kB / 0.5938 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.186, allocations: 3.938 kB / 0.5938 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.894e-05/0.1861, allocations: 41.7 kB / 0.5938 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1861, allocations: 8.062 kB / 0.5938 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1862, allocations: 0 / 0.5938 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1862, allocations: 7.984 kB / 0.5938 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.336e-05/0.1862, allocations: 7.938 kB / 0.5938 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.1863, allocations: 0 / 0.5938 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.976e-05/0.1863, allocations: 0 / 0.5938 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.1863, allocations: 4 kB / 0.5938 GB, free: 12.31 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 0.0001035/0.1864, allocations: 109.8 kB / 0.594 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.1864, allocations: 4 kB / 0.594 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.1866, allocations: 124.9 kB / 0.5941 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.282e-05/0.1867, allocations: 188.1 kB / 0.5943 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.918e-05/0.1868, allocations: 176.3 kB / 0.5944 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-05/0.1869, allocations: 180.2 kB / 0.5946 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.1872, allocations: 409.2 kB / 0.595 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.185e-05/0.1873, allocations: 113 kB / 0.5951 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.1873, allocations: 104.9 kB / 0.5952 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.59e-05/0.1874, allocations: 180.3 kB / 0.5954 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.335e-05/0.1875, allocations: 184.2 kB / 0.5955 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.716e-05/0.1875, allocations: 176.3 kB / 0.5957 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.166e-05/0.1876, allocations: 184.2 kB / 0.5959 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.1878, allocations: 307.8 kB / 0.5962 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.088e-05/0.1879, allocations: 186 kB / 0.5964 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.736e-05/0.188, allocations: 180.2 kB / 0.5965 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.1881, allocations: 109 kB / 0.5966 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.1882, allocations: 184.5 kB / 0.5968 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.1883, allocations: 109 kB / 0.5969 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.304e-05/0.1883, allocations: 83.28 kB / 0.597 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1883, allocations: 0 / 0.597 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002761/0.1886, allocations: 12 kB / 0.597 GB, free: 8.852 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0002906/0.1889, allocations: 206.4 kB / 0.5972 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.79e-05/0.189, allocations: 15.94 kB / 0.5972 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.189, allocations: 0 / 0.5972 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.238e-06/0.189, allocations: 4.031 kB / 0.5972 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.1895, allocations: 0.5224 MB / 0.5977 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.1898, allocations: 199.8 kB / 0.5979 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.19, allocations: 0.6731 MB / 0.5986 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.934e-05/0.1901, allocations: 4 kB / 0.5986 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/0.1901, allocations: 7.438 kB / 0.5986 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.1901, allocations: 8 kB / 0.5986 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of Templates: time 0.002798/0.1929, allocations: 0.6009 MB / 0.5992 GB, free: 6.562 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)