Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008438/0.0008438, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008893/0.0008893, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.156/1.156, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6493/0.6493, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002547/0.0002547, allocations: 8 kB / 0.5034 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3272, allocations: 81.57 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003126/0.3303, allocations: 3.567 MB / 0.5865 GB, free: 1.391 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001342/0.3305, allocations: 142.6 kB / 0.5867 GB, free: 1.293 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.3305, allocations: 0 / 0.5867 GB, free: 1.293 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.995e-05/0.3306, allocations: 2.312 kB / 0.5867 GB, free: 1.293 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/0.3307, allocations: 21.45 kB / 0.5867 GB, free: 1.277 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.3309, allocations: 61.53 kB / 0.5868 GB, free: 1.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.525e-05/0.331, allocations: 46.44 kB / 0.5868 GB, free: 1.234 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.331, allocations: 1.688 kB / 0.5868 GB, free: 1.234 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.419e-05/0.3311, allocations: 15.81 kB / 0.5868 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.698e-05/0.3311, allocations: 8.922 kB / 0.5868 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.3311, allocations: 1.844 kB / 0.5868 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.3313, allocations: 38.48 kB / 0.5869 GB, free: 1.211 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.3313, allocations: 8.969 kB / 0.5869 GB, free: 1.207 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.683e-05/0.3313, allocations: 28.52 kB / 0.5869 GB, free: 1.176 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.471e-05/0.3314, allocations: 33.19 kB / 0.5869 GB, free: 1.164 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3314, allocations: 0 / 0.5869 GB, free: 1.164 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3314, allocations: 0 / 0.5869 GB, free: 1.164 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.3314, allocations: 0.7188 kB / 0.5869 GB, free: 1.164 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.0002389/0.3317, allocations: 335.1 kB / 0.5873 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.3317, allocations: 9.281 kB / 0.5873 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.3318, allocations: 9.891 kB / 0.5873 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.559e-05/0.3318, allocations: 161.1 kB / 0.5874 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/0.3319, allocations: 32.42 kB / 0.5875 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-06/0.3319, allocations: 2.031 kB / 0.5875 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.332, allocations: 43.98 kB / 0.5875 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.332, allocations: 0 / 0.5875 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.332, allocations: 1.031 kB / 0.5875 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.332, allocations: 6.312 kB / 0.5875 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.015e-05/0.3321, allocations: 12.11 kB / 0.5875 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.3324, allocations: 332.5 kB / 0.5878 GB, free: 164 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.936e-05/0.3324, allocations: 25.5 kB / 0.5879 GB, free: 132 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.125e-05/0.3325, allocations: 10.05 kB / 0.5879 GB, free: 120 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.574e-05/0.3325, allocations: 83.45 kB / 0.588 GB, free: 24 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.3326, allocations: 36.73 kB / 0.588 GB, free: 15.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 2.294e-06/0.3326, allocations: 7.984 kB / 0.588 GB, free: 15.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001197/0.3327, allocations: 37.06 kB / 0.588 GB, free: 15.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.3327, allocations: 53.14 kB / 0.5881 GB, free: 15.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.7e-05/0.3328, allocations: 106.5 kB / 0.5882 GB, free: 15.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.3328, allocations: 26.36 kB / 0.5882 GB, free: 15.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.3329, allocations: 81.78 kB / 0.5883 GB, free: 15.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.404e-06/0.3329, allocations: 8.875 kB / 0.5883 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.3329, allocations: 0 / 0.5883 GB, free: 15.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.333, allocations: 317.6 kB / 0.5886 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.196e-05/0.333, allocations: 2.734 kB / 0.5886 GB, free: 15.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.975e-05/0.333, allocations: 15.44 kB / 0.5886 GB, free: 15.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.145e-05/0.333, allocations: 9.109 kB / 0.5886 GB, free: 15.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3331, allocations: 3.938 kB / 0.5886 GB, free: 15.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.871e-05/0.3331, allocations: 50.17 kB / 0.5887 GB, free: 15.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.3331, allocations: 8.688 kB / 0.5887 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3332, allocations: 5.375 kB / 0.5887 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.3332, allocations: 1 kB / 0.5887 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.852e-05/0.3332, allocations: 6.578 kB / 0.5887 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.3332, allocations: 0 / 0.5887 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.3332, allocations: 4.844 kB / 0.5887 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3333, allocations: 3.016 kB / 0.5887 GB, free: 15.26 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.691e-05/0.3333, allocations: 110 kB / 0.5888 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.3334, allocations: 5.594 kB / 0.5888 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.062e-05/0.3335, allocations: 126.2 kB / 0.5889 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-05/0.3335, allocations: 181.6 kB / 0.5891 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-05/0.3336, allocations: 181.8 kB / 0.5893 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.653e-05/0.3336, allocations: 182.9 kB / 0.5895 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.3338, allocations: 408 kB / 0.5898 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.56e-05/0.3339, allocations: 109.7 kB / 0.5899 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.671e-05/0.3339, allocations: 102.6 kB / 0.59 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.194e-05/0.3339, allocations: 182.2 kB / 0.5902 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/0.334, allocations: 178.5 kB / 0.5904 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.597e-05/0.3341, allocations: 182.4 kB / 0.5906 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.568e-05/0.3341, allocations: 192.8 kB / 0.5907 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.3342, allocations: 303 kB / 0.591 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.3343, allocations: 189.2 kB / 0.5912 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.52e-05/0.3344, allocations: 179.6 kB / 0.5914 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.3345, allocations: 111.9 kB / 0.5915 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.3346, allocations: 184.2 kB / 0.5917 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.3346, allocations: 107.4 kB / 0.5918 GB, free: 11.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.896e-05/0.3347, allocations: 85.89 kB / 0.5919 GB, free: 11.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3347, allocations: 0 / 0.5919 GB, free: 11.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002173/0.3349, allocations: 12.48 kB / 0.5919 GB, free: 11.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001391/0.335, allocations: 186.3 kB / 0.592 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.878e-05/0.3351, allocations: 15.53 kB / 0.5921 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3351, allocations: 0 / 0.5921 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/0.3351, allocations: 4.656 kB / 0.5921 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.3355, allocations: 0.5235 MB / 0.5926 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001996/0.3357, allocations: 194.4 kB / 0.5928 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.3359, allocations: 0.6754 MB / 0.5934 GB, free: 10.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.528e-05/0.3359, allocations: 4.656 kB / 0.5934 GB, free: 10.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.336, allocations: 9.312 kB / 0.5934 GB, free: 10.28 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.336, allocations: 0 / 0.5934 GB, free: 10.28 MB / 446.1 MB Notification: Performance of Templates: time 0.00238/0.3383, allocations: 0.5467 MB / 0.594 GB, free: 10.19 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)