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.005504/0.005504, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7594/0.7594, allocations: 135.2 MB / 151.1 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.2 MB / 406.9 MB, free: 3.191 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.0009262/0.000926, allocations: 89.66 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004914, allocations: 12 kB / 0.5691 GB, free: 14.13 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4812/0.4817, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7964/1.278, allocations: 319.6 MB / 0.9616 GB, free: 4.844 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/1.279, allocations: 85.58 kB / 0.9616 GB, free: 4.797 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.04323/1.322, allocations: 16.79 MB / 0.978 GB, free: 6.645 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.495e-06/1.322, allocations: 0 / 0.978 GB, free: 6.645 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.615e-05/1.322, allocations: 4 kB / 0.978 GB, free: 6.641 MB / 0.6198 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.000858/1.323, allocations: 493.5 kB / 0.9785 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.323, allocations: 8.031 kB / 0.9785 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/1.325, allocations: 173.8 kB / 0.9787 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/1.325, allocations: 214.5 kB / 0.9789 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/1.325, allocations: 19.25 kB / 0.9789 GB, free: 5.703 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/1.325, allocations: 11.69 kB / 0.9789 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006632/1.326, allocations: 301.1 kB / 0.9792 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/1.326, allocations: 0 / 0.9792 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/1.326, allocations: 7.75 kB / 0.9792 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/1.326, allocations: 4 kB / 0.9792 GB, free: 5.414 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006747/1.327, allocations: 266.9 kB / 0.9795 GB, free: 5.203 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/1.329, allocations: 1.385 MB / 0.9808 GB, free: 3.785 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/1.33, allocations: 193.2 kB / 0.981 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/1.33, allocations: 11.92 kB / 0.981 GB, free: 3.613 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/1.33, allocations: 38.12 kB / 0.9811 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.206e-06/1.33, allocations: 7.938 kB / 0.9811 GB, free: 3.562 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001398/1.332, allocations: 241.3 kB / 0.9813 GB, free: 3.371 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/1.332, allocations: 55.36 kB / 0.9813 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/1.332, allocations: 149 kB / 0.9815 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/1.332, allocations: 29.45 kB / 0.9815 GB, free: 3.137 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/1.332, allocations: 134.8 kB / 0.9816 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.789e-05/1.332, allocations: 61.86 kB / 0.9817 GB, free: 2.957 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/1.332, allocations: 3.938 kB / 0.9817 GB, free: 2.957 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001692/1.333, allocations: 322.7 kB / 0.982 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003806/1.333, allocations: 59.98 kB / 0.9821 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/1.333, allocations: 146.3 kB / 0.9822 GB, free: 2.438 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/1.334, allocations: 73.17 kB / 0.9823 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.334, allocations: 0 / 0.9823 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001054/1.335, allocations: 249.5 kB / 0.9825 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/1.335, allocations: 8 kB / 0.9825 GB, free: 2.176 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/1.335, allocations: 4 kB / 0.9825 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/1.335, allocations: 4 kB / 0.9825 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007328/1.336, allocations: 75.62 kB / 0.9826 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/1.336, allocations: 7.938 kB / 0.9826 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/1.336, allocations: 35.5 kB / 0.9826 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/1.336, allocations: 12 kB / 0.9827 GB, free: 2.047 MB / 0.6198 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 () * Number of clocked 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.0002094/1.337, allocations: 128 kB / 0.9828 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/1.337, allocations: 11.91 kB / 0.9828 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/1.338, allocations: 230.6 kB / 0.983 GB, free: 1.734 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/1.338, allocations: 8 kB / 0.983 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.338, allocations: 0 / 0.983 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/1.338, allocations: 0 / 0.983 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005078/1.338, allocations: 246.1 kB / 0.9833 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/1.338, allocations: 0 / 0.9833 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005845/1.339, allocations: 51.89 kB / 0.9833 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/1.339, allocations: 4 kB / 0.9833 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/1.339, allocations: 3.312 kB / 0.9833 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/1.339, allocations: 0 / 0.9833 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.339, allocations: 12 kB / 0.9833 GB, free: 1.398 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009539/1.34, allocations: 293.5 kB / 0.9836 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/1.34, allocations: 111.8 kB / 0.9837 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/1.34, allocations: 0 / 0.9837 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004891/1.341, allocations: 31.72 kB / 0.9837 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/1.341, allocations: 7.984 kB / 0.9837 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-05/1.341, allocations: 11.44 kB / 0.9838 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001363/1.341, allocations: 120.5 kB / 0.9839 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.4e-07/1.341, allocations: 4 kB / 0.9839 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007016/1.342, allocations: 67.56 kB / 0.9839 GB, free: 0.8047 MB / 0.6198 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 (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.0003475/1.342, allocations: 133.4 kB / 0.9841 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009451/1.343, allocations: 187.8 kB / 0.9842 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/1.343, allocations: 0 / 0.9842 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004144/1.344, allocations: 85.77 kB / 0.9843 GB, free: 472 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006417/1.344, allocations: 54.83 kB / 0.9844 GB, free: 428 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/1.346, allocations: 0.4946 MB / 0.9849 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/1.346, allocations: 0.7215 MB / 0.9856 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007327/1.347, allocations: 53.86 kB / 0.9856 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/1.347, allocations: 27.42 kB / 0.9856 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/1.347, allocations: 0 / 0.9856 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of Templates: time 0.01382/1.361, allocations: 3.128 MB / 0.9887 GB, free: 12.01 MB / 0.6355 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)