Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 172.5 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.7854/0.7854, allocations: 133.6 MB / 141.6 MB, free: 2.906 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.7/1.7, allocations: 221.5 MB / 395.5 MB, free: 10.76 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.00094/0.00094, allocations: 100.9 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.062e-05/2.083e-05, allocations: 4 kB / 0.5535 GB, free: 9.035 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6095/0.6095, allocations: 82.31 MB / 0.6338 GB, free: 40.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.65, allocations: 318.8 MB / 0.9452 GB, free: 0.8477 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003597/1.651, allocations: 82.39 kB / 0.9453 GB, free: 0.8008 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.04547/1.696, allocations: 16.65 MB / 0.9615 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.278e-06/1.696, allocations: 0 / 0.9615 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.004e-05/1.697, allocations: 7.938 kB / 0.9615 GB, free: 3 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001096/1.698, allocations: 469.4 kB / 0.962 GB, free: 2.508 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.75e-05/1.698, allocations: 12.03 kB / 0.962 GB, free: 2.496 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/1.7, allocations: 173.7 kB / 0.9622 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/1.7, allocations: 210 kB / 0.9624 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/1.7, allocations: 4 kB / 0.9624 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.822e-05/1.7, allocations: 15.94 kB / 0.9624 GB, free: 2.082 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004387/1.701, allocations: 196 kB / 0.9626 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/1.701, allocations: 236.6 kB / 0.9628 GB, free: 1.711 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/1.701, allocations: 0 / 0.9628 GB, free: 1.711 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/1.701, allocations: 7.984 kB / 0.9628 GB, free: 1.703 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.993e-05/1.701, allocations: 4 kB / 0.9628 GB, free: 1.699 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/1.703, allocations: 1.351 MB / 0.9641 GB, free: 324 kB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/1.703, allocations: 151 kB / 0.9643 GB, free: 200 kB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/1.704, allocations: 59.58 kB / 0.9643 GB, free: 156 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/1.704, allocations: 4 kB / 0.9643 GB, free: 152 kB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/1.704, allocations: 38.31 kB / 0.9644 GB, free: 108 kB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/1.704, allocations: 0 / 0.9644 GB, free: 108 kB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0004013/1.704, allocations: 147 kB / 0.9645 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/1.704, allocations: 58.78 kB / 0.9646 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/1.704, allocations: 125 kB / 0.9647 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/1.704, allocations: 25.7 kB / 0.9647 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.459e-05/1.704, allocations: 127.4 kB / 0.9648 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.187e-05/1.704, allocations: 69.34 kB / 0.9649 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.529e-05/1.704, allocations: 0 / 0.9649 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001561/1.705, allocations: 326.5 kB / 0.9652 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/1.705, allocations: 43.53 kB / 0.9653 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/1.705, allocations: 122.4 kB / 0.9654 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/1.705, allocations: 57.91 kB / 0.9654 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.705, allocations: 0 / 0.9654 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003259/1.705, allocations: 194.7 kB / 0.9656 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/1.705, allocations: 9.25 kB / 0.9656 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/1.705, allocations: 4 kB / 0.9656 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/1.705, allocations: 4 kB / 0.9656 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/1.706, allocations: 67.89 kB / 0.9657 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/1.706, allocations: 4 kB / 0.9657 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/1.706, allocations: 23.83 kB / 0.9657 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/1.706, allocations: 11.98 kB / 0.9657 GB, free: 14.77 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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 0.0001161/1.706, allocations: 120.2 kB / 0.9658 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/1.706, allocations: 11.81 kB / 0.9659 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003852/1.707, allocations: 187.8 kB / 0.966 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.707, allocations: 4 kB / 0.966 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.707, allocations: 0 / 0.966 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.707, allocations: 0 / 0.966 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/1.707, allocations: 215.2 kB / 0.9662 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.707, allocations: 0 / 0.9662 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/1.707, allocations: 47.95 kB / 0.9663 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/1.707, allocations: 4 kB / 0.9663 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/1.707, allocations: 0 / 0.9663 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/1.707, allocations: 3.938 kB / 0.9663 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.707, allocations: 4 kB / 0.9663 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/1.708, allocations: 248 kB / 0.9665 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/1.708, allocations: 116 kB / 0.9666 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/1.708, allocations: 0 / 0.9666 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/1.708, allocations: 15.98 kB / 0.9667 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/1.708, allocations: 15.73 kB / 0.9667 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/1.708, allocations: 15.97 kB / 0.9667 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.04e-05/1.708, allocations: 96.5 kB / 0.9668 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.91e-07/1.708, allocations: 0 / 0.9668 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004489/1.709, allocations: 67.95 kB / 0.9669 GB, free: 13.64 MB / 0.6042 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 (20): * Single equations (assignments): 20 * 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.0002847/1.709, allocations: 133.2 kB / 0.967 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003051/1.709, allocations: 144.4 kB / 0.9671 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.709, allocations: 0 / 0.9671 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/1.71, allocations: 70.3 kB / 0.9672 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/1.71, allocations: 39.02 kB / 0.9672 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007148/1.711, allocations: 191.4 kB / 0.9674 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/1.711, allocations: 0.7326 MB / 0.9681 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003571/1.711, allocations: 49.83 kB / 0.9682 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.755e-05/1.712, allocations: 19.44 kB / 0.9682 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of SimCode: time 6.71e-07/1.712, allocations: 0 / 0.9682 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.007038/1.719, allocations: 2.71 MB / 0.9708 GB, free: 9.621 MB / 0.6042 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)