Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.006859/0.006859, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001342/0.001342, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8596/0.8596, allocations: 135.1 MB / 425.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002535/0.002536, allocations: 64.36 kB / 0.5856 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.23, allocations: 80.92 MB / 0.6646 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004803/0.2349, allocations: 3.287 MB / 0.6679 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001126/0.235, allocations: 51.81 kB / 0.6679 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.2351, allocations: 0 / 0.6679 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.2352, allocations: 11.92 kB / 0.6679 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.117e-05/0.2353, allocations: 11.92 kB / 0.6679 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/0.2359, allocations: 187.2 kB / 0.6681 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.642e-05/0.236, allocations: 35.84 kB / 0.6681 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.236, allocations: 4 kB / 0.6681 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.283e-05/0.2361, allocations: 19.97 kB / 0.6682 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.694e-05/0.2362, allocations: 15.94 kB / 0.6682 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.2362, allocations: 0 / 0.6682 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003361/0.2365, allocations: 171.6 kB / 0.6683 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.738e-05/0.2366, allocations: 11.97 kB / 0.6684 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.2366, allocations: 4 kB / 0.6684 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.2369, allocations: 139.6 kB / 0.6685 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2369, allocations: 0 / 0.6685 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2369, allocations: 0 / 0.6685 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.2369, allocations: 0 / 0.6685 GB, free: 1.855 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.0004663/0.2374, allocations: 351.5 kB / 0.6688 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.2375, allocations: 9.109 kB / 0.6688 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.2375, allocations: 0.9375 kB / 0.6688 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.2376, allocations: 164.4 kB / 0.669 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.236e-05/0.2377, allocations: 30.25 kB / 0.669 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.2377, allocations: 384 / 0.669 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.2379, allocations: 57.59 kB / 0.6691 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2379, allocations: 3.938 kB / 0.6691 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.2379, allocations: 4 kB / 0.6691 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.238, allocations: 3.938 kB / 0.6691 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.061e-05/0.238, allocations: 15.98 kB / 0.6691 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006583/0.2387, allocations: 0.5871 MB / 0.6697 GB, free: 432 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.094e-05/0.2387, allocations: 14.58 kB / 0.6697 GB, free: 408 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.673e-05/0.2388, allocations: 8.922 kB / 0.6697 GB, free: 396 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.239, allocations: 348.4 kB / 0.67 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.2391, allocations: 34.5 kB / 0.6701 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.193e-06/0.2391, allocations: 0 / 0.6701 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001611/0.2392, allocations: 37.69 kB / 0.6701 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.2393, allocations: 51.41 kB / 0.6702 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.806e-05/0.2394, allocations: 105.8 kB / 0.6703 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.2394, allocations: 25.7 kB / 0.6703 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.2395, allocations: 88.17 kB / 0.6704 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/0.2395, allocations: 4 kB / 0.6704 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.2395, allocations: 13.72 kB / 0.6704 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2396, allocations: 318.8 kB / 0.6707 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.2397, allocations: 8 kB / 0.6707 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.782e-05/0.2397, allocations: 21.66 kB / 0.6707 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.774e-05/0.2397, allocations: 25.72 kB / 0.6707 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2397, allocations: 0 / 0.6707 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.227e-05/0.2398, allocations: 49.53 kB / 0.6708 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.2398, allocations: 4 kB / 0.6708 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2399, allocations: 4 kB / 0.6708 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.2399, allocations: 0 / 0.6708 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.304e-05/0.2399, allocations: 11.98 kB / 0.6708 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2399, allocations: 0 / 0.6708 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.974e-05/0.24, allocations: 3.938 kB / 0.6708 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.24, allocations: 8.062 kB / 0.6708 GB, free: 15.09 MB / 0.5137 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 8.421e-05/0.2401, allocations: 109.8 kB / 0.6709 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.2401, allocations: 4 kB / 0.6709 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.2403, allocations: 124.9 kB / 0.671 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.664e-05/0.2403, allocations: 176.3 kB / 0.6712 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.01e-05/0.2404, allocations: 184.2 kB / 0.6714 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.706e-05/0.2405, allocations: 180.2 kB / 0.6716 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.2408, allocations: 409.2 kB / 0.6719 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.783e-05/0.2408, allocations: 108.9 kB / 0.672 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.574e-05/0.2409, allocations: 109 kB / 0.6722 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.26e-05/0.2409, allocations: 184.5 kB / 0.6723 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.901e-05/0.241, allocations: 180.3 kB / 0.6725 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.649e-05/0.2411, allocations: 176.3 kB / 0.6727 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.393e-05/0.2412, allocations: 192.1 kB / 0.6729 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.2413, allocations: 307.7 kB / 0.6731 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.336e-05/0.2414, allocations: 186.1 kB / 0.6733 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.719e-05/0.2415, allocations: 180.3 kB / 0.6735 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.2417, allocations: 116.9 kB / 0.6736 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.313e-05/0.2418, allocations: 176.3 kB / 0.6738 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/0.2418, allocations: 108.9 kB / 0.6739 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.895e-05/0.2419, allocations: 87.27 kB / 0.674 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2419, allocations: 4 kB / 0.674 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003061/0.2422, allocations: 28 kB / 0.674 GB, free: 11.61 MB / 0.5137 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.000316/0.2425, allocations: 235.7 kB / 0.6742 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.99e-05/0.2426, allocations: 11.98 kB / 0.6742 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2426, allocations: 0 / 0.6742 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.2427, allocations: 0 / 0.6742 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005241/0.2432, allocations: 465.7 kB / 0.6747 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.2435, allocations: 182 kB / 0.6748 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.2439, allocations: 0.6729 MB / 0.6755 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.85e-05/0.2439, allocations: 10.38 kB / 0.6755 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.244, allocations: 7.438 kB / 0.6755 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.244, allocations: 0 / 0.6755 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of Templates: time 0.003655/0.2476, allocations: 1.215 MB / 0.6767 GB, free: 8.809 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)