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_pT.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_pT,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",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.01438/0.01438, allocations: 165.8 kB / 15.11 MB, free: 5.934 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.645/1.645, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.00201/0.00201, allocations: 103 kB / 226.2 MB, free: 10.1 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.4594/0.4594, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000722/0.000722, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1396, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.909/8.048, allocations: 2.514 GB / 2.916 GB, free: 20.18 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004011/8.049, allocations: 94.06 kB / 2.917 GB, free: 20.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.66/10.71, allocations: 489 MB / 3.394 GB, free: 33.17 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.855e-06/10.71, allocations: 0 / 3.394 GB, free: 33.17 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.478e-05/10.71, allocations: 21.97 kB / 3.394 GB, free: 33.17 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.008047/10.72, allocations: 1.735 MB / 3.396 GB, free: 32.14 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/10.72, allocations: 11.47 kB / 3.396 GB, free: 32.14 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004069/10.72, allocations: 121.4 kB / 3.396 GB, free: 32.06 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002383/10.72, allocations: 219.6 kB / 3.396 GB, free: 32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/10.72, allocations: 0.5919 MB / 3.397 GB, free: 31.63 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/10.72, allocations: 106.7 kB / 3.397 GB, free: 31.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/10.72, allocations: 66.03 kB / 3.397 GB, free: 31.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/10.73, allocations: 1.053 MB / 3.398 GB, free: 30.94 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.651e-05/10.73, allocations: 7.875 kB / 3.398 GB, free: 30.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/10.73, allocations: 31.11 kB / 3.398 GB, free: 30.92 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.309e-05/10.73, allocations: 52.27 kB / 3.398 GB, free: 30.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/10.73, allocations: 0.804 MB / 3.399 GB, free: 30.65 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.007578/10.74, allocations: 5.52 MB / 3.404 GB, free: 26.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/10.74, allocations: 0.5178 MB / 3.405 GB, free: 25.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4975/11.23, allocations: 53.21 MB / 3.457 GB, free: 53.28 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/11.23, allocations: 43.16 kB / 3.457 GB, free: 53.24 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 3.076e-06/11.23, allocations: 1.375 kB / 3.457 GB, free: 53.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.009222/11.24, allocations: 2.089 MB / 3.459 GB, free: 52.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/11.24, allocations: 189.9 kB / 3.459 GB, free: 52.55 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000989/11.25, allocations: 0.5478 MB / 3.46 GB, free: 52.43 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.72e-05/11.25, allocations: 36.67 kB / 3.46 GB, free: 52.39 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/11.25, allocations: 410.5 kB / 3.46 GB, free: 52.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/11.25, allocations: 161.4 kB / 3.46 GB, free: 52.13 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.037e-05/11.25, allocations: 16.16 kB / 3.46 GB, free: 52.13 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/11.25, allocations: 376.6 kB / 3.46 GB, free: 51.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005998/11.25, allocations: 230.2 kB / 3.461 GB, free: 51.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007659/11.25, allocations: 0.6111 MB / 3.461 GB, free: 51.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007574/11.25, allocations: 346.7 kB / 3.462 GB, free: 51.33 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/11.25, allocations: 3.031 kB / 3.462 GB, free: 51.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002158/11.25, allocations: 0.9008 MB / 3.462 GB, free: 51.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/11.25, allocations: 12.44 kB / 3.463 GB, free: 51.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/11.25, allocations: 13.66 kB / 3.463 GB, free: 51.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006915/11.26, allocations: 269.4 kB / 3.463 GB, free: 51.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/11.26, allocations: 292.2 kB / 3.463 GB, free: 51.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/11.26, allocations: 2.029 MB / 3.465 GB, free: 49.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/11.26, allocations: 68.39 kB / 3.465 GB, free: 49.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.635e-05/11.26, allocations: 42.5 kB / 3.465 GB, free: 49.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (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,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * 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 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005748/11.26, allocations: 275.5 kB / 3.465 GB, free: 49.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/11.26, allocations: 76.36 kB / 3.465 GB, free: 49.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003283/11.27, allocations: 2.009 MB / 3.467 GB, free: 49.04 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.511e-05/11.27, allocations: 26.5 kB / 3.467 GB, free: 49.04 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/11.27, allocations: 5.094 kB / 3.467 GB, free: 49.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/11.27, allocations: 1.156 kB / 3.467 GB, free: 49.04 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004979/11.27, allocations: 2.984 MB / 3.47 GB, free: 48.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/11.27, allocations: 0 / 3.47 GB, free: 48.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/11.27, allocations: 184.8 kB / 3.471 GB, free: 48.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00314/11.28, allocations: 305.2 kB / 3.471 GB, free: 48.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.035e-05/11.28, allocations: 14.09 kB / 3.471 GB, free: 48.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/11.28, allocations: 2.096 MB / 3.473 GB, free: 46.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/11.28, allocations: 2.422 kB / 3.473 GB, free: 46.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002976/11.28, allocations: 1.949 MB / 3.475 GB, free: 46.33 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006512/11.28, allocations: 283.9 kB / 3.475 GB, free: 46.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/11.28, allocations: 12.44 kB / 3.475 GB, free: 46.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008423/11.28, allocations: 36.22 kB / 3.475 GB, free: 46.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/11.28, allocations: 28.36 kB / 3.475 GB, free: 46.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.565e-05/11.28, allocations: 20.94 kB / 3.475 GB, free: 46.18 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001061/11.29, allocations: 0.5589 MB / 3.476 GB, free: 46.09 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.11e-07/11.29, allocations: 0 / 3.476 GB, free: 46.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006187/11.29, allocations: 1.13 MB / 3.477 GB, free: 46.09 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01325/11.3, allocations: 4.075 MB / 3.481 GB, free: 44.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002976/11.31, allocations: 0.9106 MB / 3.482 GB, free: 44.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/11.31, allocations: 0 / 3.482 GB, free: 44.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001889/11.31, allocations: 0.6274 MB / 3.482 GB, free: 44.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/11.31, allocations: 363.7 kB / 3.483 GB, free: 44.91 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/11.33, allocations: 14.22 MB / 3.497 GB, free: 34.42 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00069/11.33, allocations: 1.118 MB / 3.498 GB, free: 33.72 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001397/11.33, allocations: 348.8 kB / 3.498 GB, free: 33.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000713/11.33, allocations: 377 kB / 3.498 GB, free: 33.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.012e-06/11.33, allocations: 0 / 3.498 GB, free: 33.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1226/11.45, allocations: 50.18 MB / 3.547 GB, free: 31.6 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000269/11.46, allocations: 275.8 kB / 3.548 GB, free: 31.24 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.768/16.22, allocations: 0 / 3.548 GB, free: 31.24 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_pT_res.mat does not exist to compare? outputFormat=mat