Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000823/0.0008231, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.0009015/0.0009015, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6722/0.6722, allocations: 132.3 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002639/0.0002639, allocations: 8 kB / 0.5034 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3269, allocations: 81.57 MB / 0.5831 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003101/0.33, allocations: 3.589 MB / 0.5866 GB, free: 1.383 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.332, allocations: 2.254 MB / 0.5888 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.3321, allocations: 1.375 kB / 0.5888 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.3322, allocations: 29.3 kB / 0.5888 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.3325, allocations: 97.91 kB / 0.5889 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008291/0.3333, allocations: 430.2 kB / 0.5893 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003128/0.3336, allocations: 298.6 kB / 0.5896 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.3337, allocations: 12.94 kB / 0.5896 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.3339, allocations: 108.6 kB / 0.5897 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.334, allocations: 94.62 kB / 0.5898 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.334, allocations: 6.188 kB / 0.5898 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006356/0.3347, allocations: 355 kB / 0.5901 GB, free: 15.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.3348, allocations: 41.62 kB / 0.5902 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.51e-05/0.3348, allocations: 53.77 kB / 0.5902 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.3352, allocations: 254.3 kB / 0.5905 GB, free: 15.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3352, allocations: 4 kB / 0.5905 GB, free: 15.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3352, allocations: 0 / 0.5905 GB, free: 15.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.3352, allocations: 0 / 0.5905 GB, free: 15.04 MB / 446.1 MB 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.0005861/0.3358, allocations: 486.3 kB / 0.5909 GB, free: 14.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.3358, allocations: 9.469 kB / 0.591 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/0.3375, allocations: 184.1 kB / 0.5911 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.3377, allocations: 209.8 kB / 0.5913 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.3378, allocations: 11.05 kB / 0.5913 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.3378, allocations: 14.12 kB / 0.5914 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000567/0.3384, allocations: 314 kB / 0.5917 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3384, allocations: 1.531 kB / 0.5917 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.3384, allocations: 7.812 kB / 0.5917 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.3385, allocations: 12.78 kB / 0.5917 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006366/0.3391, allocations: 257.8 kB / 0.5919 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.3405, allocations: 1.38 MB / 0.5933 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.3411, allocations: 189.4 kB / 0.5935 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.3413, allocations: 76.86 kB / 0.5935 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.3413, allocations: 19.5 kB / 0.5935 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.3413, allocations: 36.72 kB / 0.5936 GB, free: 12.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.3413, allocations: 0 / 0.5936 GB, free: 12.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006675/0.342, allocations: 246.2 kB / 0.5938 GB, free: 12.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.3421, allocations: 54.73 kB / 0.5939 GB, free: 12.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.3422, allocations: 159 kB / 0.594 GB, free: 12.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.3422, allocations: 30.58 kB / 0.594 GB, free: 12.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.3423, allocations: 124.4 kB / 0.5942 GB, free: 12.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.3423, allocations: 63.52 kB / 0.5942 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.508e-05/0.3424, allocations: 5.5 kB / 0.5942 GB, free: 12.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.3425, allocations: 322.8 kB / 0.5945 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.3427, allocations: 64.42 kB / 0.5946 GB, free: 11.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.3429, allocations: 147.1 kB / 0.5947 GB, free: 11.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.3431, allocations: 76.72 kB / 0.5948 GB, free: 11.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3431, allocations: 2.281 kB / 0.5948 GB, free: 11.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005175/0.3437, allocations: 249.5 kB / 0.5951 GB, free: 11.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3437, allocations: 10.42 kB / 0.5951 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3437, allocations: 2.75 kB / 0.5951 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3437, allocations: 3.812 kB / 0.5951 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.3441, allocations: 66.94 kB / 0.5951 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.3441, allocations: 3.766 kB / 0.5951 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.3443, allocations: 40.5 kB / 0.5952 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.3443, allocations: 10.83 kB / 0.5952 GB, free: 11.55 MB / 446.1 MB 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.0001006/0.3444, allocations: 126.9 kB / 0.5953 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.3445, allocations: 12.5 kB / 0.5953 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005585/0.345, allocations: 233.4 kB / 0.5955 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3451, allocations: 2.094 kB / 0.5955 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3451, allocations: 4.453 kB / 0.5955 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3451, allocations: 10.61 kB / 0.5956 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.3453, allocations: 250.7 kB / 0.5958 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3453, allocations: 0 / 0.5958 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.3456, allocations: 44.02 kB / 0.5958 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3456, allocations: 1.625 kB / 0.5958 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.3457, allocations: 6.688 kB / 0.5958 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3457, allocations: 5.328 kB / 0.5959 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3457, allocations: 0 / 0.5959 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004676/0.3461, allocations: 297.5 kB / 0.5961 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.016e-05/0.3462, allocations: 105.5 kB / 0.5962 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.3463, allocations: 6.031 kB / 0.5962 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.3465, allocations: 20.56 kB / 0.5963 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.3466, allocations: 17.55 kB / 0.5963 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.3466, allocations: 11.72 kB / 0.5963 GB, free: 10.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.154e-05/0.3467, allocations: 118.5 kB / 0.5964 GB, free: 10.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3467, allocations: 1.375 kB / 0.5964 GB, free: 10.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003876/0.3471, allocations: 63.3 kB / 0.5965 GB, free: 10.64 MB / 446.1 MB 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.0002382/0.3473, allocations: 134.8 kB / 0.5966 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005205/0.3479, allocations: 172.8 kB / 0.5968 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.3479, allocations: 5.281 kB / 0.5968 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.3481, allocations: 86.72 kB / 0.5968 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.3486, allocations: 71.05 kB / 0.5969 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009543/0.3496, allocations: 0.49 MB / 0.5974 GB, free: 10.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.3498, allocations: 0.7144 MB / 0.5981 GB, free: 9.477 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003255/0.3502, allocations: 51.06 kB / 0.5981 GB, free: 9.453 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.811e-05/0.3503, allocations: 26.67 kB / 0.5982 GB, free: 9.445 MB / 446.1 MB Notification: Performance of SimCode: time 1.683e-06/0.3503, allocations: 0 / 0.5982 GB, free: 9.445 MB / 446.1 MB Notification: Performance of Templates: time 0.005928/0.3562, allocations: 3.124 MB / 0.6012 GB, free: 8.113 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)