Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01043/0.01043, allocations: 176 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.886/1.886, allocations: 194.5 MB / 210.3 MB, free: 8.582 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002329/0.002329, allocations: 120.7 kB / 255.6 MB, free: 11.2 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3044/0.3044, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.000478, allocations: 17.86 kB / 406.3 MB, free: 52.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1162, allocations: 54.87 MB / 461.2 MB, free: 3.277 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.073/8.19, allocations: 2.627 GB / 3.077 GB, free: 36.48 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/8.19, allocations: 97.58 kB / 3.077 GB, free: 36.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.01/11.2, allocations: 0.4919 GB / 3.569 GB, free: 46.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.775e-06/11.2, allocations: 0 / 3.569 GB, free: 46.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.809e-05/11.2, allocations: 22.92 kB / 3.569 GB, free: 46.7 MB / 490.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.00865/11.21, allocations: 1.842 MB / 3.571 GB, free: 45.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/11.21, allocations: 7.812 kB / 3.571 GB, free: 45.86 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003862/11.21, allocations: 108 kB / 3.571 GB, free: 45.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00359/11.21, allocations: 328.7 kB / 3.571 GB, free: 45.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/11.22, allocations: 0.6 MB / 3.572 GB, free: 45.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/11.22, allocations: 117.2 kB / 3.572 GB, free: 45.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/11.22, allocations: 69 kB / 3.572 GB, free: 45.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004228/11.22, allocations: 1.194 MB / 3.573 GB, free: 45.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.402e-05/11.22, allocations: 8.75 kB / 3.573 GB, free: 45.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/11.22, allocations: 27.62 kB / 3.573 GB, free: 45.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.618e-05/11.22, allocations: 52.38 kB / 3.573 GB, free: 45.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004502/11.22, allocations: 1.042 MB / 3.574 GB, free: 45.15 MB / 490.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.00954/11.23, allocations: 5.597 MB / 3.58 GB, free: 41.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003806/11.24, allocations: 0.7943 MB / 3.581 GB, free: 41.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0572/11.3, allocations: 18.8 MB / 3.599 GB, free: 29.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.965e-05/11.3, allocations: 45.38 kB / 3.599 GB, free: 29.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 4.228e-06/11.3, allocations: 0 / 3.599 GB, free: 29.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=49): time 0.01154/11.31, allocations: 2.354 MB / 3.601 GB, free: 29.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/11.31, allocations: 158.6 kB / 3.601 GB, free: 29.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009835/11.31, allocations: 0.5331 MB / 3.602 GB, free: 28.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001433/11.31, allocations: 36.33 kB / 3.602 GB, free: 28.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/11.31, allocations: 393.5 kB / 3.602 GB, free: 28.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/11.31, allocations: 179 kB / 3.603 GB, free: 28.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/11.31, allocations: 14.28 kB / 3.603 GB, free: 28.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/11.31, allocations: 376 kB / 3.603 GB, free: 28.22 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/11.31, allocations: 295.3 kB / 3.603 GB, free: 28.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/11.31, allocations: 0.6414 MB / 3.604 GB, free: 27.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/11.31, allocations: 385.2 kB / 3.604 GB, free: 27.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/11.31, allocations: 3.625 kB / 3.604 GB, free: 27.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003203/11.32, allocations: 0.9991 MB / 3.605 GB, free: 27.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.467e-05/11.32, allocations: 10.44 kB / 3.605 GB, free: 27.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/11.32, allocations: 17.22 kB / 3.605 GB, free: 27.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004305/11.32, allocations: 72.94 kB / 3.605 GB, free: 27.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002604/11.32, allocations: 314.6 kB / 3.606 GB, free: 27.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/11.32, allocations: 1.981 MB / 3.608 GB, free: 25.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/11.32, allocations: 86.88 kB / 3.608 GB, free: 25.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/11.32, allocations: 46.75 kB / 3.608 GB, free: 25.78 MB / 490.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.0006308/11.32, allocations: 285.1 kB / 3.608 GB, free: 25.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/11.32, allocations: 71.59 kB / 3.608 GB, free: 25.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004814/11.33, allocations: 2.596 MB / 3.611 GB, free: 25.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.633e-05/11.33, allocations: 38.12 kB / 3.611 GB, free: 25.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/11.33, allocations: 0 / 3.611 GB, free: 25.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/11.33, allocations: 7.281 kB / 3.611 GB, free: 25.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007088/11.34, allocations: 3.789 MB / 3.614 GB, free: 23.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/11.34, allocations: 0 / 3.614 GB, free: 23.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002154/11.34, allocations: 234.1 kB / 3.614 GB, free: 23.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006509/11.34, allocations: 98.09 kB / 3.615 GB, free: 23.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/11.34, allocations: 15.34 kB / 3.615 GB, free: 23.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/11.34, allocations: 2.004 MB / 3.617 GB, free: 21.26 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/11.34, allocations: 2.406 kB / 3.617 GB, free: 21.26 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004711/11.35, allocations: 2.369 MB / 3.619 GB, free: 20.13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007556/11.35, allocations: 340.7 kB / 3.619 GB, free: 19.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/11.35, allocations: 11.97 kB / 3.619 GB, free: 19.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/11.35, allocations: 58.41 kB / 3.619 GB, free: 19.86 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/11.35, allocations: 49.59 kB / 3.619 GB, free: 19.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-05/11.35, allocations: 25.14 kB / 3.619 GB, free: 19.85 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001076/11.35, allocations: 0.5466 MB / 3.62 GB, free: 19.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.01e-07/11.35, allocations: 0 / 3.62 GB, free: 19.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006457/11.36, allocations: 1.139 MB / 3.621 GB, free: 19.39 MB / 490.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.01568/11.37, allocations: 4.448 MB / 3.625 GB, free: 17.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00402/11.38, allocations: 1.109 MB / 3.626 GB, free: 17.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/11.38, allocations: 5.047 kB / 3.626 GB, free: 17.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002601/11.38, allocations: 0.8091 MB / 3.627 GB, free: 16.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003466/11.38, allocations: 356.8 kB / 3.628 GB, free: 16.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02012/11.4, allocations: 13.93 MB / 3.641 GB, free: 21.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009205/11.4, allocations: 1.183 MB / 3.642 GB, free: 20.92 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0016/11.4, allocations: 447.5 kB / 3.643 GB, free: 20.89 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007661/11.41, allocations: 440.5 kB / 3.643 GB, free: 20.54 MB / 0.4948 GB Notification: Performance of SimCode: time 1.553e-06/11.41, allocations: 0 / 3.643 GB, free: 20.54 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5575/11.96, allocations: 52.53 MB / 3.694 GB, free: 64.62 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002781/11.96, allocations: 271.7 kB / 3.695 GB, free: 64.27 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.121/17.08, allocations: 5 kB / 3.695 GB, free: 64.27 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat