Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.00108/0.00108, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001165/0.001165, allocations: 197 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4036/0.4036, allocations: 54.93 MB / 324.3 MB, free: 44 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 67.91 kB / 394.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1384, allocations: 59.59 MB / 454.3 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.2544/0.3929, allocations: 4.074 MB / 458.4 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.3949, allocations: 2.431 MB / 460.8 MB, free: 36.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.591e-05/0.395, allocations: 2.969 kB / 460.8 MB, free: 36.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.3954, allocations: 41.84 kB / 460.8 MB, free: 36.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.3957, allocations: 91.36 kB / 460.9 MB, free: 36.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.3967, allocations: 458 kB / 461.4 MB, free: 36.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.397, allocations: 336.9 kB / 461.7 MB, free: 36.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.3971, allocations: 12.47 kB / 461.7 MB, free: 36.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.3973, allocations: 108.7 kB / 461.8 MB, free: 36.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.3974, allocations: 93.27 kB / 461.9 MB, free: 36.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.3974, allocations: 9.094 kB / 461.9 MB, free: 36.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006413/0.3981, allocations: 443.3 kB / 462.3 MB, free: 36.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.808e-05/0.3981, allocations: 38.08 kB / 462.4 MB, free: 36.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.342e-05/0.3982, allocations: 79.73 kB / 462.5 MB, free: 36.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000505/0.3988, allocations: 401.4 kB / 462.9 MB, free: 36.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3988, allocations: 0 / 462.9 MB, free: 36.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.3988, allocations: 3.156 kB / 462.9 MB, free: 36.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3988, allocations: 0 / 462.9 MB, free: 36.43 MB / 382.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.0006636/0.3995, allocations: 0.4998 MB / 463.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3995, allocations: 11.47 kB / 463.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/0.4014, allocations: 181.3 kB / 463.5 MB, free: 36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.4017, allocations: 208.5 kB / 463.8 MB, free: 35.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.4017, allocations: 12.39 kB / 463.8 MB, free: 35.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.4017, allocations: 20.06 kB / 463.8 MB, free: 35.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006541/0.4024, allocations: 308.8 kB / 464.1 MB, free: 35.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.4024, allocations: 3.938 kB / 464.1 MB, free: 35.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.4025, allocations: 7.5 kB / 464.1 MB, free: 35.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.4025, allocations: 5.25 kB / 464.1 MB, free: 35.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006643/0.4032, allocations: 260.1 kB / 464.4 MB, free: 35.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.4047, allocations: 1.388 MB / 465.7 MB, free: 34.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005981/0.4053, allocations: 189 kB / 465.9 MB, free: 34.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.4055, allocations: 77.16 kB / 466 MB, free: 34.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.4055, allocations: 10.67 kB / 466 MB, free: 34.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.4056, allocations: 42.03 kB / 466.1 MB, free: 34.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.4056, allocations: 0 / 466.1 MB, free: 34.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007177/0.4063, allocations: 242.8 kB / 466.3 MB, free: 34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.4063, allocations: 54.25 kB / 466.3 MB, free: 33.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.4064, allocations: 159.1 kB / 466.5 MB, free: 33.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.4065, allocations: 36.41 kB / 466.5 MB, free: 33.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.4065, allocations: 121.2 kB / 466.7 MB, free: 33.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.4066, allocations: 59.3 kB / 466.7 MB, free: 33.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.648e-05/0.4066, allocations: 56.05 kB / 466.8 MB, free: 33.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.285e-05/0.4067, allocations: 325 kB / 467.1 MB, free: 33.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.4069, allocations: 61.19 kB / 467.1 MB, free: 33.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.4071, allocations: 143.3 kB / 467.3 MB, free: 33.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.4075, allocations: 225 kB / 467.5 MB, free: 32.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4075, allocations: 0 / 467.5 MB, free: 32.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004922/0.408, allocations: 243.8 kB / 467.7 MB, free: 32.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.408, allocations: 8.188 kB / 467.7 MB, free: 32.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.4081, allocations: 10.14 kB / 467.8 MB, free: 32.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4081, allocations: 2.844 kB / 467.8 MB, free: 32.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.4085, allocations: 60.64 kB / 467.8 MB, free: 32.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.4085, allocations: 6.812 kB / 467.8 MB, free: 32.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.4089, allocations: 42.25 kB / 467.9 MB, free: 32.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.4089, allocations: 11.25 kB / 467.9 MB, free: 32.84 MB / 382.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.0001317/0.4091, allocations: 134.7 kB / 468 MB, free: 32.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.129e-05/0.4092, allocations: 9.688 kB / 468 MB, free: 32.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000845/0.41, allocations: 232.1 kB / 468.2 MB, free: 32.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.41, allocations: 5.703 kB / 468.3 MB, free: 32.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.4101, allocations: 0 / 468.3 MB, free: 32.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.4101, allocations: 4 kB / 468.3 MB, free: 32.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.4104, allocations: 246.6 kB / 468.5 MB, free: 32.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4104, allocations: 2.656 kB / 468.5 MB, free: 32.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.4108, allocations: 47.03 kB / 468.5 MB, free: 32.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4108, allocations: 0 / 468.5 MB, free: 32.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.4109, allocations: 11.09 kB / 468.6 MB, free: 32.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4109, allocations: 0 / 468.6 MB, free: 32.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4109, allocations: 0.5625 kB / 468.6 MB, free: 32.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006989/0.4116, allocations: 301.1 kB / 468.9 MB, free: 32.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.4117, allocations: 108.5 kB / 469 MB, free: 32.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.4118, allocations: 7.906 kB / 469 MB, free: 32.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.4122, allocations: 13.28 kB / 469 MB, free: 32.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.4122, allocations: 9.359 kB / 469 MB, free: 32.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.645e-05/0.4123, allocations: 17.98 kB / 469 MB, free: 32.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.503e-05/0.4124, allocations: 111.4 kB / 469.1 MB, free: 31.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4124, allocations: 0 / 469.1 MB, free: 31.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005549/0.4129, allocations: 58.69 kB / 469.2 MB, free: 31.95 MB / 382.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.0002324/0.4132, allocations: 129.9 kB / 469.3 MB, free: 31.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00072/0.4139, allocations: 176.4 kB / 469.5 MB, free: 31.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4139, allocations: 0.625 kB / 469.5 MB, free: 31.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003295/0.4143, allocations: 99.38 kB / 469.6 MB, free: 31.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006295/0.4149, allocations: 56.88 kB / 469.6 MB, free: 31.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009263/0.4159, allocations: 465 kB / 470.1 MB, free: 31.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.416, allocations: 0.7165 MB / 470.8 MB, free: 30.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003428/0.4164, allocations: 52.56 kB / 470.8 MB, free: 30.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.651e-05/0.4165, allocations: 23.27 kB / 470.9 MB, free: 30.78 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4165, allocations: 6.719 kB / 470.9 MB, free: 30.77 MB / 382.1 MB Notification: Performance of Templates: time 0.006109/0.4226, allocations: 3.16 MB / 474 MB, free: 30.59 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)