Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.Fluid.TestComponents.Machines.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",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.01014/0.01014, 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.751/1.751, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001996/0.001995, allocations: 118.9 kB / 226.2 MB, free: 10.09 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.4454/0.4454, allocations: 38.06 MB / 303.7 MB, free: 42.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006572/0.0006572, allocations: 12 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1101, allocations: 48.7 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.741/7.851, allocations: 2.502 GB / 2.904 GB, free: 76.71 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/7.852, allocations: 93.72 kB / 2.904 GB, free: 76.66 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054/9.906, allocations: 426.9 MB / 3.321 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.124e-06/9.906, allocations: 0 / 3.321 GB, free: 7.953 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.752e-05/9.906, allocations: 19.94 kB / 3.321 GB, free: 7.934 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007829/9.914, allocations: 1.79 MB / 3.323 GB, free: 6.102 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/9.914, allocations: 11.97 kB / 3.323 GB, free: 6.09 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002391/9.914, allocations: 98.52 kB / 3.323 GB, free: 5.984 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003641/9.918, allocations: 318.8 kB / 3.323 GB, free: 5.672 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/9.92, allocations: 0.5879 MB / 3.324 GB, free: 5.055 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/9.92, allocations: 46.17 kB / 3.324 GB, free: 5.012 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/9.92, allocations: 56 kB / 3.324 GB, free: 4.957 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003445/9.923, allocations: 0.9969 MB / 3.325 GB, free: 3.895 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/9.923, allocations: 0 / 3.325 GB, free: 3.895 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/9.923, allocations: 34.81 kB / 3.325 GB, free: 3.863 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.11e-05/9.923, allocations: 24.98 kB / 3.325 GB, free: 3.836 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003732/9.927, allocations: 0.8975 MB / 3.326 GB, free: 2.941 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.3348/10.26, allocations: 4.436 MB / 3.33 GB, free: 31.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004186/10.27, allocations: 0.7785 MB / 3.331 GB, free: 31.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3002/10.57, allocations: 82.77 MB / 3.412 GB, free: 31.65 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/10.57, allocations: 43.88 kB / 3.412 GB, free: 31.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 2.725e-06/10.57, allocations: 0 / 3.412 GB, free: 31.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=52): time 0.01352/10.58, allocations: 2.211 MB / 3.414 GB, free: 31.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/10.58, allocations: 114.2 kB / 3.414 GB, free: 31.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/10.58, allocations: 433.6 kB / 3.415 GB, free: 30.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001619/10.58, allocations: 36.11 kB / 3.415 GB, free: 30.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/10.58, allocations: 337.8 kB / 3.415 GB, free: 30.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/10.58, allocations: 182.2 kB / 3.415 GB, free: 30.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.268e-05/10.58, allocations: 13.81 kB / 3.415 GB, free: 30.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/10.58, allocations: 366.1 kB / 3.415 GB, free: 30.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/10.58, allocations: 266 kB / 3.416 GB, free: 30.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/10.58, allocations: 465.3 kB / 3.416 GB, free: 30.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/10.59, allocations: 305.5 kB / 3.416 GB, free: 30.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/10.59, allocations: 3.688 kB / 3.416 GB, free: 30.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003769/10.59, allocations: 0.9823 MB / 3.417 GB, free: 30.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008418/10.59, allocations: 2.183 MB / 3.42 GB, free: 27.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/10.59, allocations: 7.844 kB / 3.42 GB, free: 27.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003176/10.59, allocations: 407.3 kB / 3.42 GB, free: 27.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000956/10.59, allocations: 145.7 kB / 3.42 GB, free: 27.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/10.6, allocations: 0.9139 MB / 3.421 GB, free: 27.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/10.6, allocations: 99.81 kB / 3.421 GB, free: 27.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.313e-05/10.6, allocations: 42.09 kB / 3.421 GB, free: 27.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/10.6, allocations: 3.781 kB / 3.421 GB, free: 27.21 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004939/10.6, allocations: 0.933 MB / 3.422 GB, free: 27.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/10.6, allocations: 8.141 kB / 3.422 GB, free: 27.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003814/10.61, allocations: 316 kB / 3.422 GB, free: 27.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/10.61, allocations: 149.7 kB / 3.422 GB, free: 27.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003049/10.61, allocations: 0.875 MB / 3.423 GB, free: 26.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/10.61, allocations: 98.92 kB / 3.423 GB, free: 26.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/10.61, allocations: 29.75 kB / 3.423 GB, free: 26.61 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.0006598/10.61, allocations: 289.2 kB / 3.424 GB, free: 26.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/10.61, allocations: 59.19 kB / 3.424 GB, free: 26.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005262/10.62, allocations: 2.893 MB / 3.427 GB, free: 26.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.992e-05/10.62, allocations: 48.16 kB / 3.427 GB, free: 26.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/10.62, allocations: 3.953 kB / 3.427 GB, free: 26.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/10.62, allocations: 3.891 kB / 3.427 GB, free: 26.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006724/10.63, allocations: 4.028 MB / 3.431 GB, free: 25.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/10.63, allocations: 2.297 kB / 3.431 GB, free: 25.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/10.63, allocations: 167.2 kB / 3.431 GB, free: 25.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005347/10.63, allocations: 77.8 kB / 3.431 GB, free: 25.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.281e-05/10.63, allocations: 16.41 kB / 3.431 GB, free: 25.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008625/10.63, allocations: 1.181 MB / 3.432 GB, free: 24.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/10.63, allocations: 5.641 kB / 3.432 GB, free: 24.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004898/10.63, allocations: 2.546 MB / 3.434 GB, free: 24.26 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000592/10.64, allocations: 318.7 kB / 3.435 GB, free: 24.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/10.64, allocations: 21.53 kB / 3.435 GB, free: 24.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008629/10.64, allocations: 66.44 kB / 3.435 GB, free: 24.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/10.64, allocations: 56.12 kB / 3.435 GB, free: 24.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-05/10.64, allocations: 27.88 kB / 3.435 GB, free: 24.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006826/10.64, allocations: 394 kB / 3.435 GB, free: 23.99 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.9e-07/10.64, allocations: 0 / 3.435 GB, free: 23.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006439/10.64, allocations: 1.379 MB / 3.437 GB, free: 23.99 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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.01538/10.66, allocations: 4.726 MB / 3.441 GB, free: 23.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004857/10.66, allocations: 1.485 MB / 3.443 GB, free: 22.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/10.66, allocations: 4.062 kB / 3.443 GB, free: 22.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001874/10.67, allocations: 0.8568 MB / 3.444 GB, free: 22.97 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/10.67, allocations: 297.4 kB / 3.444 GB, free: 22.95 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.611/11.28, allocations: 81.75 MB / 3.524 GB, free: 72.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009344/11.28, allocations: 1.164 MB / 3.525 GB, free: 72.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002155/11.28, allocations: 0.6439 MB / 3.525 GB, free: 72.01 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008365/11.28, allocations: 457.4 kB / 3.526 GB, free: 72.01 MB / 490.7 MB Notification: Performance of SimCode: time 1.132e-06/11.28, allocations: 0 / 3.526 GB, free: 72.01 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1403/11.42, allocations: 54.25 MB / 3.579 GB, free: 71.07 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002951/11.42, allocations: 272.3 kB / 3.579 GB, free: 70.71 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.127/16.55, allocations: 0 / 3.579 GB, free: 70.71 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat does not exist to compare? outputFormat=mat