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.001275/0.001275, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.751/0.751, allocations: 132.2 MB / 422.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 60.09 kB / 0.5018 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4321, allocations: 80.2 MB / 0.5801 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004591/0.4368, allocations: 3.28 MB / 0.5833 GB, free: 2.191 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 9.873e-05/0.4369, allocations: 58.28 kB / 0.5833 GB, free: 2.152 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.678e-05/0.4369, allocations: 7.875 kB / 0.5834 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.606e-05/0.437, allocations: 0.75 kB / 0.5834 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.146e-05/0.4371, allocations: 18.05 kB / 0.5834 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.4376, allocations: 187.6 kB / 0.5836 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.153e-05/0.4377, allocations: 28.86 kB / 0.5836 GB, free: 2.031 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.013e-05/0.4378, allocations: 6.156 kB / 0.5836 GB, free: 2.027 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.401e-05/0.4378, allocations: 19.66 kB / 0.5836 GB, free: 2.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.4379, allocations: 12.83 kB / 0.5836 GB, free: 2.016 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.4379, allocations: 1.062 kB / 0.5836 GB, free: 2.016 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003555/0.4383, allocations: 170.1 kB / 0.5838 GB, free: 1.945 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.4383, allocations: 8.875 kB / 0.5838 GB, free: 1.941 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.4384, allocations: 14.06 kB / 0.5838 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.4387, allocations: 128 kB / 0.5839 GB, free: 1.906 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4387, allocations: 7.938 kB / 0.5839 GB, free: 1.898 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4387, allocations: 5.125 kB / 0.5839 GB, free: 1.895 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.4387, allocations: 0 / 0.5839 GB, free: 1.895 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.0003704/0.4391, allocations: 346.6 kB / 0.5843 GB, free: 1.531 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.4391, allocations: 10.23 kB / 0.5843 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.4392, allocations: 1.75 kB / 0.5843 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.59e-05/0.4393, allocations: 166.6 kB / 0.5844 GB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.87e-05/0.4393, allocations: 28.83 kB / 0.5845 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.4393, allocations: 2 kB / 0.5845 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.4395, allocations: 48.33 kB / 0.5845 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.4395, allocations: 0 / 0.5845 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.4395, allocations: 1.375 kB / 0.5845 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.4395, allocations: 1.797 kB / 0.5845 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.89e-05/0.4396, allocations: 19.95 kB / 0.5845 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005278/0.4401, allocations: 0.5812 MB / 0.5851 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.421e-05/0.4402, allocations: 24.45 kB / 0.5851 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.429e-05/0.4402, allocations: 7.625 kB / 0.5851 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.4404, allocations: 342.2 kB / 0.5855 GB, free: 180 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.4404, allocations: 32.25 kB / 0.5855 GB, free: 140 kB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.4404, allocations: 0.9375 kB / 0.5855 GB, free: 140 kB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001381/0.4405, allocations: 45.34 kB / 0.5855 GB, free: 96 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.4406, allocations: 52.16 kB / 0.5856 GB, free: 32 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.74e-05/0.4407, allocations: 109.9 kB / 0.5857 GB, free: 15.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.4407, allocations: 26.45 kB / 0.5857 GB, free: 15.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.4408, allocations: 86.58 kB / 0.5858 GB, free: 15.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.119e-06/0.4408, allocations: 4.844 kB / 0.5858 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.4408, allocations: 18.23 kB / 0.5858 GB, free: 15.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.4409, allocations: 318.7 kB / 0.5861 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.4409, allocations: 2.641 kB / 0.5861 GB, free: 15.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.772e-05/0.441, allocations: 22.69 kB / 0.5861 GB, free: 15.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.721e-05/0.441, allocations: 25.25 kB / 0.5862 GB, free: 15.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.441, allocations: 0 / 0.5862 GB, free: 15.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.511e-05/0.4411, allocations: 46.27 kB / 0.5862 GB, free: 15.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.4411, allocations: 4.969 kB / 0.5862 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4411, allocations: 1.281 kB / 0.5862 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.4412, allocations: 5.219 kB / 0.5862 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.843e-05/0.4412, allocations: 9.375 kB / 0.5862 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.4412, allocations: 5.859 kB / 0.5862 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.962e-05/0.4413, allocations: 6.641 kB / 0.5862 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.4413, allocations: 0 / 0.5862 GB, free: 15.37 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 8.289e-05/0.4414, allocations: 118 kB / 0.5864 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.4414, allocations: 6.562 kB / 0.5864 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.4415, allocations: 115 kB / 0.5865 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.489e-05/0.4416, allocations: 185.3 kB / 0.5866 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.805e-05/0.4416, allocations: 179 kB / 0.5868 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-05/0.4417, allocations: 184.8 kB / 0.587 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.4419, allocations: 408.3 kB / 0.5874 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.729e-05/0.442, allocations: 105.7 kB / 0.5875 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.25e-05/0.442, allocations: 107.5 kB / 0.5876 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.835e-05/0.4421, allocations: 187.1 kB / 0.5878 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-05/0.4422, allocations: 180.9 kB / 0.5879 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.89e-05/0.4422, allocations: 177.9 kB / 0.5881 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.416e-05/0.4423, allocations: 182.1 kB / 0.5883 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.4424, allocations: 313.7 kB / 0.5886 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.4425, allocations: 184.2 kB / 0.5888 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.627e-05/0.4426, allocations: 179.4 kB / 0.5889 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.4427, allocations: 109.4 kB / 0.589 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.4428, allocations: 178.3 kB / 0.5892 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.4428, allocations: 111.1 kB / 0.5893 GB, free: 12.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.547e-05/0.4429, allocations: 81.95 kB / 0.5894 GB, free: 11.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.4429, allocations: 0.8125 kB / 0.5894 GB, free: 11.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.4432, allocations: 41.89 kB / 0.5894 GB, free: 11.97 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.0002956/0.4435, allocations: 231.8 kB / 0.5896 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.276e-05/0.4436, allocations: 11.81 kB / 0.5897 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4436, allocations: 0 / 0.5897 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.4436, allocations: 1.312 kB / 0.5897 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.4441, allocations: 460.4 kB / 0.5901 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.4444, allocations: 187.6 kB / 0.5903 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.4446, allocations: 0.6779 MB / 0.5909 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.16e-05/0.4447, allocations: 12.5 kB / 0.591 GB, free: 10.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.4447, allocations: 13.88 kB / 0.591 GB, free: 10.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4447, allocations: 0 / 0.591 GB, free: 10.43 MB / 446.1 MB Notification: Performance of Templates: time 0.004106/0.4488, allocations: 1.199 MB / 0.5921 GB, free: 10.25 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)