Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009429/0.0009427, allocations: 97.64 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.00561/0.00561, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.758/0.758, allocations: 132.4 MB / 423.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003576, allocations: 15.94 kB / 0.504 GB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5794/0.5798, allocations: 81.58 MB / 0.5837 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00393/0.5838, allocations: 2.994 MB / 0.5866 GB, free: 1.844 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 9.721e-05/0.5839, allocations: 49.28 kB / 0.5866 GB, free: 1.812 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.739e-05/0.5839, allocations: 0.9688 kB / 0.5866 GB, free: 1.812 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.584, allocations: 4.594 kB / 0.5866 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.749e-05/0.5841, allocations: 14.75 kB / 0.5867 GB, free: 1.801 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.5847, allocations: 165.9 kB / 0.5868 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.5848, allocations: 61.81 kB / 0.5869 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.5849, allocations: 2.344 kB / 0.5869 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.991e-05/0.5849, allocations: 14.52 kB / 0.5869 GB, free: 1.695 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.466e-05/0.585, allocations: 18.17 kB / 0.5869 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.585, allocations: 4.719 kB / 0.5869 GB, free: 1.684 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.5854, allocations: 167.5 kB / 0.5871 GB, free: 1.617 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.36e-05/0.5855, allocations: 5.094 kB / 0.5871 GB, free: 1.617 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.204e-05/0.5855, allocations: 43.59 kB / 0.5871 GB, free: 1.574 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.5858, allocations: 136.8 kB / 0.5873 GB, free: 1.539 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5858, allocations: 3.938 kB / 0.5873 GB, free: 1.535 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5858, allocations: 1.031 kB / 0.5873 GB, free: 1.535 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.5859, allocations: 0 / 0.5873 GB, free: 1.535 MB / 430.1 MB 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.0003936/0.5863, allocations: 337.2 kB / 0.5876 GB, free: 1.176 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.5863, allocations: 9.312 kB / 0.5876 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.5864, allocations: 3.25 kB / 0.5876 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.008e-05/0.5865, allocations: 162.7 kB / 0.5877 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.157e-05/0.5865, allocations: 31.84 kB / 0.5878 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.5866, allocations: 5.688 kB / 0.5878 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.5867, allocations: 53.78 kB / 0.5878 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.5867, allocations: 0 / 0.5878 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.5868, allocations: 0 / 0.5878 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.5868, allocations: 2.469 kB / 0.5878 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.826e-05/0.5868, allocations: 16.44 kB / 0.5879 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.5874, allocations: 0.5844 MB / 0.5884 GB, free: 240 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.549e-05/0.5875, allocations: 25.09 kB / 0.5884 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.212e-05/0.5875, allocations: 6.016 kB / 0.5885 GB, free: 200 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/0.5877, allocations: 344.1 kB / 0.5888 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.5878, allocations: 32.16 kB / 0.5888 GB, free: 15.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.5878, allocations: 3.938 kB / 0.5888 GB, free: 15.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001623/0.588, allocations: 37.11 kB / 0.5889 GB, free: 15.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.588, allocations: 57.11 kB / 0.5889 GB, free: 15.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.309e-05/0.5881, allocations: 106.1 kB / 0.589 GB, free: 15.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.5881, allocations: 30.39 kB / 0.589 GB, free: 15.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.5882, allocations: 87.08 kB / 0.5891 GB, free: 15.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.324e-06/0.5882, allocations: 7.844 kB / 0.5891 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.5882, allocations: 10.59 kB / 0.5891 GB, free: 15.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.5884, allocations: 322.1 kB / 0.5894 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.5884, allocations: 3.531 kB / 0.5894 GB, free: 15.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.457e-05/0.5884, allocations: 17.88 kB / 0.5895 GB, free: 15.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.003e-05/0.5885, allocations: 21.59 kB / 0.5895 GB, free: 15.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5885, allocations: 1.688 kB / 0.5895 GB, free: 15.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001124/0.5886, allocations: 48.8 kB / 0.5895 GB, free: 15.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.5886, allocations: 5.094 kB / 0.5895 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.5887, allocations: 1.625 kB / 0.5895 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.5887, allocations: 4.062 kB / 0.5895 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.867e-05/0.5887, allocations: 6.375 kB / 0.5895 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.5888, allocations: 0.9688 kB / 0.5896 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.304e-05/0.5888, allocations: 2.141 kB / 0.5896 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.5888, allocations: 1.125 kB / 0.5896 GB, free: 15.02 MB / 446.1 MB 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.0001098/0.5889, allocations: 114.3 kB / 0.5897 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.589, allocations: 1.891 kB / 0.5897 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.5891, allocations: 132 kB / 0.5898 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.849e-05/0.5892, allocations: 178.4 kB / 0.59 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.649e-05/0.5893, allocations: 182.2 kB / 0.5901 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.068e-05/0.5893, allocations: 178.4 kB / 0.5903 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.5896, allocations: 411.7 kB / 0.5907 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.076e-05/0.5896, allocations: 110.8 kB / 0.5908 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.177e-05/0.5897, allocations: 106.9 kB / 0.5909 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.634e-05/0.5897, allocations: 181.4 kB / 0.5911 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.733e-05/0.5898, allocations: 178.2 kB / 0.5912 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.787e-05/0.5899, allocations: 185 kB / 0.5914 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.099e-05/0.5899, allocations: 178.1 kB / 0.5916 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.5901, allocations: 310.7 kB / 0.5919 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-05/0.5902, allocations: 185.4 kB / 0.5921 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.949e-05/0.5902, allocations: 183 kB / 0.5922 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.5904, allocations: 107.5 kB / 0.5923 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.5905, allocations: 182.7 kB / 0.5925 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.864e-05/0.5905, allocations: 107 kB / 0.5926 GB, free: 11.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.948e-05/0.5906, allocations: 84.69 kB / 0.5927 GB, free: 11.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5906, allocations: 4.812 kB / 0.5927 GB, free: 11.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000295/0.5909, allocations: 41.28 kB / 0.5927 GB, free: 11.61 MB / 446.1 MB 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.000315/0.5912, allocations: 236.8 kB / 0.593 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.537e-05/0.5913, allocations: 7.859 kB / 0.593 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.5913, allocations: 0.5625 kB / 0.593 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.5913, allocations: 4.625 kB / 0.593 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.5918, allocations: 0.5305 MB / 0.5935 GB, free: 10.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.5921, allocations: 182 kB / 0.5937 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.5923, allocations: 0.675 MB / 0.5943 GB, free: 10.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.744e-05/0.5924, allocations: 11.58 kB / 0.5943 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.837e-05/0.5924, allocations: 10.23 kB / 0.5944 GB, free: 10.02 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5924, allocations: 0 / 0.5944 GB, free: 10.02 MB / 446.1 MB Notification: Performance of Templates: time 0.004317/0.5967, allocations: 1.18 MB / 0.5955 GB, free: 9.828 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)