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.0009426/0.0009425, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001316/0.001316, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3998/0.3998, allocations: 54.99 MB / 325.4 MB, free: 0.7461 MB / 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.0005826/0.0005828, allocations: 16 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3436, allocations: 60.71 MB / 457.3 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003806/0.3475, allocations: 3.032 MB / 460.3 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.3501, allocations: 2.164 MB / 462.5 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.3502, allocations: 0 / 462.5 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.3505, allocations: 36.12 kB / 462.5 MB, free: 37.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.3508, allocations: 83.89 kB / 462.6 MB, free: 37.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.3521, allocations: 429.5 kB / 463 MB, free: 37.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.3524, allocations: 166.5 kB / 463.2 MB, free: 37.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.934e-05/0.3525, allocations: 14.69 kB / 463.2 MB, free: 37.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.3528, allocations: 105.5 kB / 463.3 MB, free: 37.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.3529, allocations: 73.91 kB / 463.4 MB, free: 37.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.353, allocations: 5.375 kB / 463.4 MB, free: 37.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009129/0.3539, allocations: 372.3 kB / 463.8 MB, free: 37.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.305e-05/0.354, allocations: 37.67 kB / 463.8 MB, free: 37.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.785e-05/0.354, allocations: 54.7 kB / 463.9 MB, free: 37.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004698/0.3545, allocations: 249.5 kB / 464.1 MB, free: 37.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.3545, allocations: 0 / 464.1 MB, free: 37.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3545, allocations: 1 kB / 464.1 MB, free: 37.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.3545, allocations: 0 / 464.1 MB, free: 37.5 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.0006754/0.3552, allocations: 481.4 kB / 464.6 MB, free: 37.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.3553, allocations: 11.44 kB / 464.6 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.3571, allocations: 177.9 kB / 464.8 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.3574, allocations: 207.2 kB / 465 MB, free: 36.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.3574, allocations: 14.67 kB / 465 MB, free: 36.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.3575, allocations: 13.72 kB / 465 MB, free: 36.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005708/0.3581, allocations: 307.2 kB / 465.3 MB, free: 36.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3581, allocations: 6.938 kB / 465.3 MB, free: 36.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.3581, allocations: 10.3 kB / 465.3 MB, free: 36.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.3581, allocations: 7 kB / 465.3 MB, free: 36.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006278/0.3588, allocations: 262.6 kB / 465.6 MB, free: 36.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.3602, allocations: 1.387 MB / 466.9 MB, free: 35.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006566/0.3608, allocations: 190.3 kB / 467.1 MB, free: 35.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.3609, allocations: 11.03 kB / 467.1 MB, free: 35.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.3609, allocations: 30.56 kB / 467.2 MB, free: 35.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.3609, allocations: 0 / 467.2 MB, free: 35.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007346/0.3617, allocations: 247.3 kB / 467.4 MB, free: 35.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.3617, allocations: 58.22 kB / 467.5 MB, free: 35.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.3618, allocations: 151.8 kB / 467.6 MB, free: 34.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.3619, allocations: 32.64 kB / 467.7 MB, free: 34.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.3619, allocations: 125.8 kB / 467.8 MB, free: 34.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.362, allocations: 66.22 kB / 467.8 MB, free: 34.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/0.362, allocations: 4 kB / 467.8 MB, free: 34.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.645e-05/0.3621, allocations: 321.1 kB / 468.2 MB, free: 34.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.3623, allocations: 68.89 kB / 468.2 MB, free: 34.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.3625, allocations: 141.2 kB / 468.4 MB, free: 34.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.3627, allocations: 80.11 kB / 468.4 MB, free: 34.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3628, allocations: 0 / 468.4 MB, free: 34.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005334/0.3633, allocations: 259.2 kB / 468.7 MB, free: 34.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3633, allocations: 5.594 kB / 468.7 MB, free: 34.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3633, allocations: 2.906 kB / 468.7 MB, free: 34.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.3634, allocations: 2.938 kB / 468.7 MB, free: 34.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.3637, allocations: 71.48 kB / 468.8 MB, free: 34.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.3637, allocations: 6.203 kB / 468.8 MB, free: 34.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.364, allocations: 37.45 kB / 468.8 MB, free: 34.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.364, allocations: 16.5 kB / 468.8 MB, free: 34.08 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.3641, allocations: 130.3 kB / 469 MB, free: 33.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.3642, allocations: 12.56 kB / 469 MB, free: 33.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005451/0.3647, allocations: 236.1 kB / 469.2 MB, free: 33.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3647, allocations: 0 / 469.2 MB, free: 33.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3647, allocations: 3.875 kB / 469.2 MB, free: 33.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.3648, allocations: 0 / 469.2 MB, free: 33.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.365, allocations: 236 kB / 469.4 MB, free: 33.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.365, allocations: 7.859 kB / 469.4 MB, free: 33.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/0.3653, allocations: 47.56 kB / 469.5 MB, free: 33.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3653, allocations: 0 / 469.5 MB, free: 33.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.3653, allocations: 10.81 kB / 469.5 MB, free: 33.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3653, allocations: 0 / 469.5 MB, free: 33.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3653, allocations: 2.312 kB / 469.5 MB, free: 33.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.3658, allocations: 293.9 kB / 469.8 MB, free: 33.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.3659, allocations: 108.4 kB / 469.9 MB, free: 33.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.3659, allocations: 14.67 kB / 469.9 MB, free: 33.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.3662, allocations: 14.28 kB / 469.9 MB, free: 33.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.3662, allocations: 12.45 kB / 469.9 MB, free: 33.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.3662, allocations: 9.844 kB / 469.9 MB, free: 33.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.971e-05/0.3663, allocations: 114.1 kB / 470.1 MB, free: 33.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3663, allocations: 0 / 470.1 MB, free: 33.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003465/0.3667, allocations: 59.81 kB / 470.1 MB, free: 33.2 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 (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.0001688/0.3668, allocations: 137.3 kB / 470.3 MB, free: 33.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004818/0.3673, allocations: 181.7 kB / 470.4 MB, free: 33.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3674, allocations: 0 / 470.4 MB, free: 33.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.3676, allocations: 90.64 kB / 470.5 MB, free: 33.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.368, allocations: 62.75 kB / 470.6 MB, free: 33.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008674/0.3689, allocations: 495.9 kB / 471.1 MB, free: 32.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.369, allocations: 0.7182 MB / 471.8 MB, free: 32.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003395/0.3694, allocations: 55.48 kB / 471.8 MB, free: 32.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.42e-05/0.3695, allocations: 24.66 kB / 471.9 MB, free: 32.02 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3695, allocations: 0 / 471.9 MB, free: 32.02 MB / 382.1 MB Notification: Performance of Templates: time 0.00729/0.3768, allocations: 3.032 MB / 474.9 MB, free: 31.84 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: