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.001867/0.001867, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7875/0.7875, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.641/1.641, allocations: 221.3 MB / 400.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 89.58 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.272e-05/5.275e-05, allocations: 2.562 kB / 0.56 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2588, allocations: 82.31 MB / 0.6404 GB, free: 7.824 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.318, allocations: 319.5 MB / 0.9524 GB, free: 2.137 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004571/1.318, allocations: 83.12 kB / 0.9525 GB, free: 2.09 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.0455/1.364, allocations: 16.75 MB / 0.9689 GB, free: 4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.894e-06/1.364, allocations: 3.938 kB / 0.9689 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.031e-05/1.364, allocations: 3.984 kB / 0.9689 GB, free: 3.992 MB / 0.6823 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.0009618/1.365, allocations: 478.1 kB / 0.9693 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/1.365, allocations: 8.031 kB / 0.9693 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/1.367, allocations: 176.8 kB / 0.9695 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/1.367, allocations: 214.2 kB / 0.9697 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/1.367, allocations: 11.52 kB / 0.9697 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/1.367, allocations: 22.81 kB / 0.9697 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004776/1.368, allocations: 270.2 kB / 0.97 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.039e-05/1.368, allocations: 4 kB / 0.97 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/1.368, allocations: 7.812 kB / 0.97 GB, free: 2.812 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/1.368, allocations: 11.94 kB / 0.97 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/1.368, allocations: 218.6 kB / 0.9702 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/1.37, allocations: 1.393 MB / 0.9716 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/1.37, allocations: 161.9 kB / 0.9717 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/1.37, allocations: 68.33 kB / 0.9718 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/1.37, allocations: 11.97 kB / 0.9718 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/1.371, allocations: 37.81 kB / 0.9719 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.074e-06/1.371, allocations: 0 / 0.9719 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0003768/1.371, allocations: 151.8 kB / 0.972 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/1.371, allocations: 59.36 kB / 0.9721 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/1.371, allocations: 147.1 kB / 0.9722 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/1.371, allocations: 29.08 kB / 0.9722 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.399e-05/1.371, allocations: 129.1 kB / 0.9723 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/1.371, allocations: 53.95 kB / 0.9724 GB, free: 460 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/1.371, allocations: 7.562 kB / 0.9724 GB, free: 456 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.371, allocations: 325 kB / 0.9727 GB, free: 128 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.673e-05/1.372, allocations: 53.2 kB / 0.9728 GB, free: 88 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6531/2.025, allocations: 120.5 kB / 0.9729 GB, free: 254.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/2.025, allocations: 66.06 kB / 0.9729 GB, free: 254.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/2.025, allocations: 0.5312 kB / 0.9729 GB, free: 254.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006257/2.026, allocations: 220.8 kB / 0.9732 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/2.026, allocations: 6.266 kB / 0.9732 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/2.026, allocations: 3.031 kB / 0.9732 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/2.026, allocations: 4.125 kB / 0.9732 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/2.026, allocations: 69.58 kB / 0.9732 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-05/2.026, allocations: 9.234 kB / 0.9732 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/2.027, allocations: 38.09 kB / 0.9733 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/2.027, allocations: 12.83 kB / 0.9733 GB, free: 254.2 MB / 0.6823 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.0001293/2.027, allocations: 119.2 kB / 0.9734 GB, free: 254.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.127e-05/2.027, allocations: 16.22 kB / 0.9734 GB, free: 254.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005399/2.028, allocations: 197.1 kB / 0.9736 GB, free: 254.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/2.028, allocations: 6.766 kB / 0.9736 GB, free: 254.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/2.028, allocations: 0.5156 kB / 0.9736 GB, free: 254.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/2.028, allocations: 4.844 kB / 0.9736 GB, free: 254.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/2.028, allocations: 240.3 kB / 0.9738 GB, free: 253.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/2.028, allocations: 0 / 0.9738 GB, free: 253.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/2.028, allocations: 52.89 kB / 0.9739 GB, free: 253.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/2.028, allocations: 3.438 kB / 0.9739 GB, free: 253.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/2.028, allocations: 8.859 kB / 0.9739 GB, free: 253.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/2.028, allocations: 1.188 kB / 0.9739 GB, free: 253.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/2.028, allocations: 0.6094 kB / 0.9739 GB, free: 253.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003964/2.029, allocations: 268.5 kB / 0.9742 GB, free: 253.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/2.029, allocations: 108.5 kB / 0.9743 GB, free: 253.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.958e-05/2.029, allocations: 3.969 kB / 0.9743 GB, free: 253.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/2.029, allocations: 21.16 kB / 0.9743 GB, free: 253.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/2.029, allocations: 17.94 kB / 0.9743 GB, free: 253.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/2.029, allocations: 10.78 kB / 0.9743 GB, free: 253.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001017/2.03, allocations: 111.9 kB / 0.9744 GB, free: 253.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.342e-06/2.03, allocations: 5.469 kB / 0.9744 GB, free: 253.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004733/2.03, allocations: 71.92 kB / 0.9745 GB, free: 253.6 MB / 0.6823 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.0003251/2.03, allocations: 133.2 kB / 0.9746 GB, free: 253.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003977/2.031, allocations: 148.1 kB / 0.9748 GB, free: 253.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.81e-06/2.031, allocations: 4.281 kB / 0.9748 GB, free: 253.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/2.031, allocations: 71.7 kB / 0.9748 GB, free: 253.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/2.031, allocations: 57.02 kB / 0.9749 GB, free: 253.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007865/2.032, allocations: 215.8 kB / 0.9751 GB, free: 253.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/2.032, allocations: 0.7211 MB / 0.9758 GB, free: 252.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003736/2.033, allocations: 52.2 kB / 0.9759 GB, free: 252.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/2.033, allocations: 27.89 kB / 0.9759 GB, free: 252.7 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/2.033, allocations: 0 / 0.9759 GB, free: 252.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.011/2.044, allocations: 3.148 MB / 0.979 GB, free: 252.5 MB / 0.6823 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)