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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009608/0.000961, allocations: 174.3 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7624/0.7624, allocations: 133.6 MB / 141.6 MB, free: 2.926 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 221.5 MB / 395.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009558/0.0009559, allocations: 95.48 kB / 478.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.462e-05/2.465e-05, allocations: 7.938 kB / 0.5535 GB, free: 9.039 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6246/0.6246, allocations: 82.3 MB / 0.6338 GB, free: 40.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.652, allocations: 315.6 MB / 0.9421 GB, free: 3.938 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003634/1.652, allocations: 79.02 kB / 0.9421 GB, free: 3.895 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.02008/1.672, allocations: 9.104 MB / 0.951 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.453e-06/1.672, allocations: 0 / 0.951 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.006e-05/1.672, allocations: 3.375 kB / 0.951 GB, free: 12.59 MB / 0.5886 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.000404/1.673, allocations: 348.2 kB / 0.9514 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/1.673, allocations: 8.031 kB / 0.9514 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/1.673, allocations: 4 kB / 0.9514 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/1.673, allocations: 174.3 kB / 0.9515 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.38e-05/1.673, allocations: 25.7 kB / 0.9516 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/1.673, allocations: 4 kB / 0.9516 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.669e-05/1.673, allocations: 12 kB / 0.9516 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.013e-05/1.673, allocations: 41.19 kB / 0.9516 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/1.673, allocations: 7.938 kB / 0.9516 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/1.673, allocations: 4 kB / 0.9516 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/1.673, allocations: 7.922 kB / 0.9516 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007663/1.674, allocations: 0.5749 MB / 0.9522 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.364e-05/1.674, allocations: 14.58 kB / 0.9522 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/1.674, allocations: 4.859 kB / 0.9522 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002972/1.675, allocations: 367.7 kB / 0.9526 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/1.675, allocations: 30.56 kB / 0.9526 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/1.675, allocations: 0 / 0.9526 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0002918/1.675, allocations: 41.62 kB / 0.9526 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/1.675, allocations: 55.41 kB / 0.9527 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/1.675, allocations: 96.8 kB / 0.9528 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/1.675, allocations: 25.7 kB / 0.9528 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/1.675, allocations: 95.39 kB / 0.9529 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.459e-06/1.675, allocations: 0 / 0.9529 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/1.675, allocations: 4 kB / 0.9529 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.675, allocations: 318.8 kB / 0.9532 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/1.675, allocations: 0 / 0.9532 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.719e-05/1.675, allocations: 17.53 kB / 0.9532 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/1.676, allocations: 19.98 kB / 0.9532 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.676, allocations: 4 kB / 0.9532 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001827/1.676, allocations: 64.95 kB / 0.9533 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/1.676, allocations: 4 kB / 0.9533 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/1.676, allocations: 4 kB / 0.9533 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/1.676, allocations: 0 / 0.9533 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.923e-05/1.676, allocations: 4 kB / 0.9533 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/1.676, allocations: 3.984 kB / 0.9533 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.779e-05/1.676, allocations: 0 / 0.9533 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/1.676, allocations: 4 kB / 0.9533 GB, free: 9.926 MB / 0.5886 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 () * 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 7.595e-05/1.676, allocations: 109 kB / 0.9534 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/1.676, allocations: 4 kB / 0.9534 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/1.676, allocations: 118.4 kB / 0.9535 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.137e-05/1.676, allocations: 184.2 kB / 0.9537 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-05/1.676, allocations: 176.3 kB / 0.9539 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.44e-05/1.677, allocations: 184.2 kB / 0.9541 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/1.677, allocations: 393.1 kB / 0.9544 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-05/1.677, allocations: 101 kB / 0.9545 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/1.677, allocations: 104.9 kB / 0.9546 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.727e-05/1.677, allocations: 176.3 kB / 0.9548 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.071e-05/1.677, allocations: 188.3 kB / 0.955 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.204e-05/1.677, allocations: 184.2 kB / 0.9552 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.246e-05/1.677, allocations: 176.3 kB / 0.9553 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/1.677, allocations: 307 kB / 0.9556 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.971e-05/1.677, allocations: 193.9 kB / 0.9558 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.113e-05/1.677, allocations: 183.5 kB / 0.956 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/1.678, allocations: 112.9 kB / 0.9561 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/1.678, allocations: 176.3 kB / 0.9563 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/1.678, allocations: 101 kB / 0.9563 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.253e-05/1.678, allocations: 86.72 kB / 0.9564 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/1.678, allocations: 0 / 0.9564 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002757/1.678, allocations: 35.92 kB / 0.9565 GB, free: 6.52 MB / 0.5886 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 () * 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.0002872/1.678, allocations: 242.9 kB / 0.9567 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.795e-05/1.678, allocations: 8 kB / 0.9567 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.678, allocations: 0 / 0.9567 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/1.678, allocations: 0 / 0.9567 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/1.679, allocations: 0.5245 MB / 0.9572 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002039/1.679, allocations: 131.2 kB / 0.9573 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/1.679, allocations: 0.6847 MB / 0.958 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.564e-05/1.679, allocations: 6.109 kB / 0.958 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.899e-05/1.679, allocations: 7.438 kB / 0.958 GB, free: 4.867 MB / 0.5886 GB Notification: Performance of SimCode: time 1.784e-06/1.679, allocations: 0 / 0.958 GB, free: 4.867 MB / 0.5886 GB Notification: Performance of Templates: time 0.003457/1.683, allocations: 1.063 MB / 0.9591 GB, free: 3.852 MB / 0.5886 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)