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.001015/0.001015, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.007445/0.007445, allocations: 172.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8023/0.8023, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003635, allocations: 8 kB / 0.504 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4285, allocations: 81.58 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004227/0.4328, allocations: 3.73 MB / 0.5873 GB, free: 1.332 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002859/0.4357, allocations: 2.43 MB / 0.5897 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.4359, allocations: 0.5625 kB / 0.5897 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.4362, allocations: 41.44 kB / 0.5897 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003477/0.4366, allocations: 82.73 kB / 0.5898 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.4383, allocations: 493.4 kB / 0.5903 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005477/0.4388, allocations: 336.5 kB / 0.5906 GB, free: 15.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.319e-05/0.4389, allocations: 10.88 kB / 0.5906 GB, free: 15.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.4391, allocations: 110.9 kB / 0.5907 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.4393, allocations: 98.08 kB / 0.5908 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.4393, allocations: 6.969 kB / 0.5908 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.4404, allocations: 460 kB / 0.5913 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.812e-05/0.4405, allocations: 44.92 kB / 0.5913 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.4406, allocations: 109.8 kB / 0.5914 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007359/0.4414, allocations: 407.5 kB / 0.5918 GB, free: 14.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4414, allocations: 0 / 0.5918 GB, free: 14.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4414, allocations: 1.094 kB / 0.5918 GB, free: 14.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.4414, allocations: 0 / 0.5918 GB, free: 14.7 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.0008095/0.4422, allocations: 481 kB / 0.5922 GB, free: 14.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.4423, allocations: 12.66 kB / 0.5923 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002375/0.4447, allocations: 176.8 kB / 0.5924 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.445, allocations: 215.3 kB / 0.5926 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.445, allocations: 15.3 kB / 0.5926 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.4451, allocations: 14.28 kB / 0.5927 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007489/0.4458, allocations: 312.4 kB / 0.593 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.4458, allocations: 1.469 kB / 0.593 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/0.4459, allocations: 10.95 kB / 0.593 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.4459, allocations: 6.391 kB / 0.593 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008277/0.4467, allocations: 261.2 kB / 0.5932 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.4485, allocations: 1.403 MB / 0.5946 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007323/0.4493, allocations: 188.4 kB / 0.5948 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.4495, allocations: 81.17 kB / 0.5949 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.4496, allocations: 6.062 kB / 0.5949 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.4496, allocations: 34.47 kB / 0.5949 GB, free: 12.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.522e-06/0.4496, allocations: 3.938 kB / 0.5949 GB, free: 12.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0008921/0.4505, allocations: 243.7 kB / 0.5951 GB, free: 12.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.4506, allocations: 53.78 kB / 0.5952 GB, free: 12.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.4507, allocations: 159.8 kB / 0.5953 GB, free: 12.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.4508, allocations: 31.53 kB / 0.5954 GB, free: 11.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.426e-05/0.4509, allocations: 123.5 kB / 0.5955 GB, free: 11.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.009e-05/0.4509, allocations: 65.27 kB / 0.5955 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.451, allocations: 25.75 kB / 0.5956 GB, free: 11.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4511, allocations: 322.7 kB / 0.5959 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.4514, allocations: 69.17 kB / 0.5959 GB, free: 11.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.4517, allocations: 143.8 kB / 0.5961 GB, free: 11.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005323/0.4522, allocations: 216.8 kB / 0.5963 GB, free: 11.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4522, allocations: 0.5625 kB / 0.5963 GB, free: 11.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006558/0.4529, allocations: 262 kB / 0.5965 GB, free: 11.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.4529, allocations: 6.281 kB / 0.5965 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.4529, allocations: 2.469 kB / 0.5965 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.4529, allocations: 4.922 kB / 0.5965 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.4533, allocations: 66.06 kB / 0.5966 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.4533, allocations: 12.34 kB / 0.5966 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.4536, allocations: 35.72 kB / 0.5967 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.4537, allocations: 11.23 kB / 0.5967 GB, free: 11.05 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.4538, allocations: 130.2 kB / 0.5968 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.4539, allocations: 17.27 kB / 0.5968 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006897/0.4545, allocations: 226.5 kB / 0.597 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4546, allocations: 6.312 kB / 0.597 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.4546, allocations: 1.281 kB / 0.597 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4546, allocations: 1.266 kB / 0.597 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.4549, allocations: 247 kB / 0.5973 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.4549, allocations: 0.5625 kB / 0.5973 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.4552, allocations: 47.58 kB / 0.5973 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.4552, allocations: 1.219 kB / 0.5973 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.4553, allocations: 3.344 kB / 0.5973 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.4553, allocations: 1.875 kB / 0.5973 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4553, allocations: 0 / 0.5973 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005887/0.4559, allocations: 305.4 kB / 0.5976 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.456, allocations: 105.2 kB / 0.5977 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.456, allocations: 5.688 kB / 0.5977 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.4563, allocations: 24.7 kB / 0.5977 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.4564, allocations: 10.78 kB / 0.5978 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.4564, allocations: 11.97 kB / 0.5978 GB, free: 10.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.036e-05/0.4565, allocations: 118.6 kB / 0.5979 GB, free: 10.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4565, allocations: 0 / 0.5979 GB, free: 10.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004133/0.4569, allocations: 66.19 kB / 0.5979 GB, free: 10.16 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002379/0.4572, allocations: 141.9 kB / 0.5981 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005876/0.4578, allocations: 182.1 kB / 0.5982 GB, free: 10 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4578, allocations: 3.938 kB / 0.5983 GB, free: 9.996 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002493/0.458, allocations: 87.45 kB / 0.5983 GB, free: 9.977 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.4586, allocations: 59.81 kB / 0.5984 GB, free: 9.957 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.4596, allocations: 0.4942 MB / 0.5989 GB, free: 9.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.4599, allocations: 0.7139 MB / 0.5996 GB, free: 8.984 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003647/0.4603, allocations: 50.95 kB / 0.5996 GB, free: 8.953 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.214e-05/0.4604, allocations: 24.81 kB / 0.5996 GB, free: 8.945 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4604, allocations: 4 kB / 0.5996 GB, free: 8.941 MB / 446.1 MB Notification: Performance of Templates: time 0.007142/0.4675, allocations: 3.235 MB / 0.6028 GB, free: 7.406 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)