Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_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.01056/0.01056, allocations: 166.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.654/1.654, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001959/0.001958, allocations: 99.45 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.4635/0.4635, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004988/0.0004988, allocations: 15.98 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1151, allocations: 48.71 MB / 411.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.111/8.226, allocations: 2.516 GB / 2.918 GB, free: 60.87 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/8.227, allocations: 98.66 kB / 2.918 GB, free: 60.82 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.672/10.9, allocations: 491.3 MB / 3.398 GB, free: 46.13 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.454e-06/10.9, allocations: 0 / 3.398 GB, free: 46.13 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.804e-05/10.9, allocations: 21.94 kB / 3.398 GB, free: 46.13 MB / 458.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.007943/10.91, allocations: 1.752 MB / 3.4 GB, free: 45.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/10.91, allocations: 7.125 kB / 3.4 GB, free: 45.3 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003309/10.91, allocations: 113.4 kB / 3.4 GB, free: 45.26 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00335/10.91, allocations: 319.9 kB / 3.4 GB, free: 45.22 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/10.91, allocations: 0.6087 MB / 3.401 GB, free: 44.96 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/10.91, allocations: 106.5 kB / 3.401 GB, free: 44.89 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/10.91, allocations: 62.19 kB / 3.401 GB, free: 44.89 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003716/10.92, allocations: 1.16 MB / 3.402 GB, free: 44.6 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.395e-05/10.92, allocations: 7 kB / 3.402 GB, free: 44.6 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/10.92, allocations: 33 kB / 3.402 GB, free: 44.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.303e-05/10.92, allocations: 41.7 kB / 3.402 GB, free: 44.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002557/10.92, allocations: 0.8296 MB / 3.403 GB, free: 44.58 MB / 458.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.008134/10.93, allocations: 5.479 MB / 3.408 GB, free: 40.88 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/10.93, allocations: 0.5595 MB / 3.409 GB, free: 40.83 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1553/11.08, allocations: 48.91 MB / 3.457 GB, free: 26.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.962e-05/11.08, allocations: 37.78 kB / 3.457 GB, free: 26.66 MB / 474.7 MB Notification: Performance of pre-optimization done (n=42): time 3.066e-06/11.08, allocations: 0 / 3.457 GB, free: 26.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=46): time 0.00778/11.09, allocations: 1.931 MB / 3.459 GB, free: 26.17 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/11.09, allocations: 165.7 kB / 3.459 GB, free: 25.98 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009368/11.09, allocations: 0.5374 MB / 3.459 GB, free: 25.85 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/11.09, allocations: 36.33 kB / 3.459 GB, free: 25.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/11.09, allocations: 408.8 kB / 3.46 GB, free: 25.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/11.09, allocations: 165 kB / 3.46 GB, free: 25.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/11.09, allocations: 14.97 kB / 3.46 GB, free: 25.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002384/11.09, allocations: 375.8 kB / 3.46 GB, free: 25.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005991/11.1, allocations: 228 kB / 3.46 GB, free: 25.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007712/11.1, allocations: 0.5876 MB / 3.461 GB, free: 24.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007691/11.1, allocations: 338.9 kB / 3.461 GB, free: 24.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.046e-06/11.1, allocations: 6.969 kB / 3.461 GB, free: 24.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002191/11.1, allocations: 0.8856 MB / 3.462 GB, free: 24.57 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/11.1, allocations: 11.41 kB / 3.462 GB, free: 24.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/11.1, allocations: 15.19 kB / 3.462 GB, free: 24.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004321/11.1, allocations: 65.09 kB / 3.462 GB, free: 24.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002251/11.1, allocations: 295.8 kB / 3.463 GB, free: 24.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/11.1, allocations: 1.987 MB / 3.464 GB, free: 22.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/11.11, allocations: 70.28 kB / 3.465 GB, free: 22.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-05/11.11, allocations: 38.31 kB / 3.465 GB, free: 22.67 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.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.0006234/11.11, allocations: 279.1 kB / 3.465 GB, free: 22.54 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/11.11, allocations: 64.41 kB / 3.465 GB, free: 22.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003265/11.11, allocations: 2.221 MB / 3.467 GB, free: 22.21 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.72e-05/11.11, allocations: 30.14 kB / 3.467 GB, free: 22.21 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/11.11, allocations: 3.953 kB / 3.467 GB, free: 22.21 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/11.11, allocations: 3.047 kB / 3.467 GB, free: 22.21 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005162/11.11, allocations: 3.279 MB / 3.47 GB, free: 20.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/11.11, allocations: 0 / 3.47 GB, free: 20.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002007/11.12, allocations: 191.5 kB / 3.47 GB, free: 20.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007989/11.12, allocations: 94.94 kB / 3.471 GB, free: 20.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-05/11.12, allocations: 15.77 kB / 3.471 GB, free: 20.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002673/11.12, allocations: 1.999 MB / 3.473 GB, free: 18.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/11.12, allocations: 2.812 kB / 3.473 GB, free: 18.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004169/11.12, allocations: 1.983 MB / 3.474 GB, free: 17.78 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008212/11.13, allocations: 284.9 kB / 3.475 GB, free: 17.57 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/11.13, allocations: 11.16 kB / 3.475 GB, free: 17.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/11.13, allocations: 60 kB / 3.475 GB, free: 17.54 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/11.13, allocations: 37.25 kB / 3.475 GB, free: 17.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.493e-05/11.13, allocations: 21.06 kB / 3.475 GB, free: 17.53 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001325/11.13, allocations: 0.5047 MB / 3.475 GB, free: 17.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.11e-07/11.13, allocations: 0 / 3.475 GB, free: 17.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007577/11.14, allocations: 1.123 MB / 3.476 GB, free: 17.09 MB / 474.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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01693/11.15, allocations: 4.049 MB / 3.48 GB, free: 15.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003831/11.16, allocations: 0.9242 MB / 3.481 GB, free: 14.87 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/11.16, allocations: 4.062 kB / 3.481 GB, free: 14.87 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002508/11.16, allocations: 0.6549 MB / 3.482 GB, free: 14.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004021/11.16, allocations: 353.8 kB / 3.482 GB, free: 14.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02243/11.19, allocations: 13.81 MB / 3.496 GB, free: 19.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/11.19, allocations: 1.133 MB / 3.497 GB, free: 18.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00201/11.19, allocations: 451.7 kB / 3.497 GB, free: 18.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007804/11.19, allocations: 394.7 kB / 3.498 GB, free: 18.18 MB / 490.7 MB Notification: Performance of SimCode: time 1.142e-06/11.19, allocations: 0 / 3.498 GB, free: 18.18 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4883/11.68, allocations: 50.69 MB / 3.547 GB, free: 75.71 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/11.68, allocations: 277.7 kB / 3.547 GB, free: 75.36 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.667/16.35, allocations: 0 / 3.547 GB, free: 75.36 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat