Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0149/0.01491, allocations: 165.6 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.762/1.762, allocations: 170.8 MB / 186.6 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001972/0.001972, allocations: 107.4 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5137/0.5137, allocations: 38.05 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.00048, allocations: 12 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1052, allocations: 48.7 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.082/8.187, allocations: 2.516 GB / 2.918 GB, free: 16.42 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/8.188, allocations: 96.47 kB / 2.918 GB, free: 16.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.576/10.76, allocations: 491.2 MB / 3.398 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.625e-06/10.76, allocations: 0 / 3.398 GB, free: 30.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.136e-05/10.76, allocations: 18.69 kB / 3.398 GB, free: 30.54 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.00866/10.77, allocations: 1.797 MB / 3.4 GB, free: 29.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/10.77, allocations: 10.22 kB / 3.4 GB, free: 29.5 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004099/10.77, allocations: 119 kB / 3.4 GB, free: 29.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00361/10.78, allocations: 311.2 kB / 3.4 GB, free: 29.36 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/10.78, allocations: 0.5949 MB / 3.401 GB, free: 28.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/10.78, allocations: 120.3 kB / 3.401 GB, free: 28.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/10.78, allocations: 65.91 kB / 3.401 GB, free: 28.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004346/10.78, allocations: 1.196 MB / 3.402 GB, free: 28.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.582e-05/10.78, allocations: 7.375 kB / 3.402 GB, free: 28.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/10.78, allocations: 37.7 kB / 3.402 GB, free: 28.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.743e-05/10.78, allocations: 45.62 kB / 3.402 GB, free: 28.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004684/10.79, allocations: 1.043 MB / 3.403 GB, free: 27.99 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009623/10.8, allocations: 5.601 MB / 3.409 GB, free: 23.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00375/10.8, allocations: 0.7849 MB / 3.409 GB, free: 22.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0564/10.86, allocations: 18.71 MB / 3.428 GB, free: 5.609 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/10.86, allocations: 38.56 kB / 3.428 GB, free: 5.562 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 3.086e-06/10.86, allocations: 0 / 3.428 GB, free: 5.562 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.01103/10.87, allocations: 2.359 MB / 3.43 GB, free: 3.148 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/10.87, allocations: 158.7 kB / 3.43 GB, free: 2.957 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000954/10.87, allocations: 0.5303 MB / 3.431 GB, free: 2.422 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001405/10.87, allocations: 41.64 kB / 3.431 GB, free: 2.375 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/10.87, allocations: 399 kB / 3.431 GB, free: 1.988 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/10.87, allocations: 175.9 kB / 3.431 GB, free: 1.816 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/10.87, allocations: 16 kB / 3.431 GB, free: 1.801 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/10.87, allocations: 382.7 kB / 3.432 GB, free: 1.418 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/10.87, allocations: 289.8 kB / 3.432 GB, free: 1.137 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/10.87, allocations: 0.6389 MB / 3.433 GB, free: 336 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/10.88, allocations: 388.5 kB / 3.433 GB, free: 15.95 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/10.88, allocations: 4 kB / 3.433 GB, free: 15.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003649/10.88, allocations: 1 MB / 3.434 GB, free: 14.94 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/10.88, allocations: 8 kB / 3.434 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/10.88, allocations: 12 kB / 3.434 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004681/10.88, allocations: 72.56 kB / 3.434 GB, free: 14.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002717/10.88, allocations: 315.8 kB / 3.434 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/10.88, allocations: 1.99 MB / 3.436 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/10.89, allocations: 84.08 kB / 3.436 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/10.89, allocations: 54.06 kB / 3.436 GB, free: 12.26 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008901/10.89, allocations: 270.5 kB / 3.437 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004232/10.89, allocations: 75.09 kB / 3.437 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006145/10.89, allocations: 2.602 MB / 3.439 GB, free: 9.297 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-05/10.89, allocations: 31.89 kB / 3.439 GB, free: 9.266 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/10.89, allocations: 4 kB / 3.439 GB, free: 9.262 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.876e-05/10.89, allocations: 3.984 kB / 3.439 GB, free: 9.258 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008708/10.9, allocations: 3.787 MB / 3.443 GB, free: 5.414 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/10.9, allocations: 4 kB / 3.443 GB, free: 5.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002328/10.91, allocations: 239.7 kB / 3.443 GB, free: 5.176 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007495/10.91, allocations: 92.67 kB / 3.443 GB, free: 5.082 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/10.91, allocations: 12 kB / 3.443 GB, free: 5.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002348/10.91, allocations: 1.998 MB / 3.445 GB, free: 2.914 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/10.91, allocations: 4.031 kB / 3.445 GB, free: 2.91 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005525/10.91, allocations: 2.375 MB / 3.448 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000773/10.92, allocations: 334 kB / 3.448 GB, free: 164 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/10.92, allocations: 12 kB / 3.448 GB, free: 152 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009648/10.92, allocations: 60.02 kB / 3.448 GB, free: 92 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/10.92, allocations: 52.44 kB / 3.448 GB, free: 40 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-05/10.92, allocations: 23.98 kB / 3.448 GB, free: 16 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.3566/11.27, allocations: 0.5413 MB / 3.449 GB, free: 56.35 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.11e-07/11.27, allocations: 0 / 3.449 GB, free: 56.35 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006737/11.28, allocations: 1.122 MB / 3.45 GB, free: 56.35 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01668/11.3, allocations: 4.443 MB / 3.454 GB, free: 55.47 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004176/11.3, allocations: 1.113 MB / 3.455 GB, free: 55.46 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/11.3, allocations: 3.25 kB / 3.455 GB, free: 55.46 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002494/11.3, allocations: 0.8022 MB / 3.456 GB, free: 55.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00331/11.31, allocations: 375.6 kB / 3.456 GB, free: 55.45 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/11.33, allocations: 13.92 MB / 3.47 GB, free: 45.87 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007758/11.33, allocations: 1.188 MB / 3.471 GB, free: 45.17 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001585/11.33, allocations: 438.3 kB / 3.471 GB, free: 45.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008076/11.33, allocations: 445.3 kB / 3.472 GB, free: 45.15 MB / 458.7 MB Notification: Performance of SimCode: time 1.242e-06/11.33, allocations: 0 / 3.472 GB, free: 45.15 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1309/11.46, allocations: 52.39 MB / 3.523 GB, free: 43.4 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/11.46, allocations: 275.7 kB / 3.523 GB, free: 43.04 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.061/16.52, allocations: 0 / 3.523 GB, free: 43.04 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat