Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.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.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",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.01434/0.01434, allocations: 173.8 kB / 15.12 MB, free: 5.984 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.932/1.932, 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.002036/0.002036, allocations: 112.7 kB / 255.6 MB, free: 11.21 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.2527/0.2527, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004853, allocations: 11.64 kB / 406.3 MB, free: 51.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09774/0.09827, allocations: 54.88 MB / 461.1 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.785/7.884, allocations: 2.613 GB / 3.063 GB, free: 48.89 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/7.884, allocations: 92.05 kB / 3.063 GB, free: 48.84 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.191/10.07, allocations: 437.6 MB / 3.49 GB, free: 2.227 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.535e-06/10.08, allocations: 0 / 3.49 GB, free: 2.227 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.215e-05/10.08, allocations: 22.66 kB / 3.49 GB, free: 2.207 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.008317/10.08, allocations: 1.847 MB / 3.492 GB, free: 324 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/10.08, allocations: 12.03 kB / 3.492 GB, free: 312 kB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002824/10.08, allocations: 102.5 kB / 3.492 GB, free: 200 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3951/10.48, allocations: 325.6 kB / 3.493 GB, free: 51.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001974/10.48, allocations: 0.5803 MB / 3.493 GB, free: 51.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.503e-05/10.48, allocations: 51.23 kB / 3.493 GB, free: 51.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/10.48, allocations: 57 kB / 3.493 GB, free: 51.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004314/10.49, allocations: 1.005 MB / 3.494 GB, free: 51.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/10.49, allocations: 4.219 kB / 3.494 GB, free: 51.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/10.49, allocations: 25.95 kB / 3.494 GB, free: 51.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.261e-05/10.49, allocations: 24.12 kB / 3.494 GB, free: 51.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004817/10.49, allocations: 0.9369 MB / 3.495 GB, free: 51.02 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.008877/10.5, allocations: 4.612 MB / 3.5 GB, free: 47.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004372/10.5, allocations: 0.7967 MB / 3.5 GB, free: 47.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05808/10.56, allocations: 18.37 MB / 3.518 GB, free: 36.42 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/10.56, allocations: 42.44 kB / 3.518 GB, free: 36.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 3.687e-06/10.56, allocations: 0 / 3.518 GB, free: 36.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=65): time 0.04966/10.61, allocations: 4.751 MB / 3.523 GB, free: 35.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/10.61, allocations: 114.6 kB / 3.523 GB, free: 35.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007416/10.61, allocations: 414 kB / 3.524 GB, free: 35.55 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001447/10.61, allocations: 37.27 kB / 3.524 GB, free: 35.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/10.61, allocations: 356.1 kB / 3.524 GB, free: 35.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/10.61, allocations: 217.5 kB / 3.524 GB, free: 35.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.572e-05/10.61, allocations: 16.28 kB / 3.524 GB, free: 35.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/10.61, allocations: 371.1 kB / 3.525 GB, free: 34.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/10.62, allocations: 417.5 kB / 3.525 GB, free: 34.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/10.62, allocations: 0.6293 MB / 3.526 GB, free: 34.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/10.62, allocations: 472.4 kB / 3.526 GB, free: 34.67 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/10.62, allocations: 3.719 kB / 3.526 GB, free: 34.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005062/10.62, allocations: 1.349 MB / 3.527 GB, free: 34.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005926/10.62, allocations: 2.621 MB / 3.53 GB, free: 31.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/10.62, allocations: 9.844 kB / 3.53 GB, free: 31.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007408/10.63, allocations: 0.9177 MB / 3.531 GB, free: 31.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/10.63, allocations: 191.7 kB / 3.531 GB, free: 31.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003866/10.64, allocations: 1.715 MB / 3.533 GB, free: 30.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/10.64, allocations: 113.2 kB / 3.533 GB, free: 30.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/10.64, allocations: 50.66 kB / 3.533 GB, free: 30.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/10.64, allocations: 4.406 kB / 3.533 GB, free: 30.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005468/10.64, allocations: 1.307 MB / 3.534 GB, free: 30.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/10.64, allocations: 7.531 kB / 3.534 GB, free: 30.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004665/10.65, allocations: 0.6512 MB / 3.535 GB, free: 30.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/10.65, allocations: 191 kB / 3.535 GB, free: 30.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003462/10.65, allocations: 1.671 MB / 3.537 GB, free: 29.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/10.66, allocations: 116.6 kB / 3.537 GB, free: 29.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/10.66, allocations: 50.22 kB / 3.537 GB, free: 29.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (71): * Single equations (assignments): 69 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006273/10.66, allocations: 300.3 kB / 3.537 GB, free: 29.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/10.66, allocations: 63.38 kB / 3.537 GB, free: 29.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00911/10.67, allocations: 3.666 MB / 3.541 GB, free: 29.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.409e-05/10.67, allocations: 36.23 kB / 3.541 GB, free: 29.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/10.67, allocations: 0 / 3.541 GB, free: 29.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.311e-05/10.67, allocations: 3.844 kB / 3.541 GB, free: 29.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/10.68, allocations: 4.862 MB / 3.545 GB, free: 28.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/10.68, allocations: 0 / 3.545 GB, free: 28.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009488/10.68, allocations: 138.4 kB / 3.546 GB, free: 28.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007719/10.69, allocations: 1.669 MB / 3.547 GB, free: 28.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001856/10.69, allocations: 19.89 kB / 3.547 GB, free: 28.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004211/10.69, allocations: 2.374 MB / 3.55 GB, free: 27.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/10.69, allocations: 0 / 3.55 GB, free: 27.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006293/10.7, allocations: 2.504 MB / 3.552 GB, free: 27.33 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007701/10.7, allocations: 327.5 kB / 3.552 GB, free: 27.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/10.7, allocations: 16.98 kB / 3.552 GB, free: 27.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/10.7, allocations: 115.9 kB / 3.552 GB, free: 27.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/10.7, allocations: 63.02 kB / 3.552 GB, free: 27.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.564e-05/10.7, allocations: 31.08 kB / 3.552 GB, free: 27.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006868/10.7, allocations: 416.7 kB / 3.553 GB, free: 27.06 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.01e-07/10.7, allocations: 0 / 3.553 GB, free: 27.06 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008066/10.71, allocations: 1.57 MB / 3.554 GB, free: 27.03 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$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 (50): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01978/10.73, allocations: 4.725 MB / 3.559 GB, free: 41.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008518/10.74, allocations: 2.05 MB / 3.561 GB, free: 41.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/10.74, allocations: 6.562 kB / 3.561 GB, free: 41.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003065/10.74, allocations: 1.028 MB / 3.562 GB, free: 41.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/10.74, allocations: 302.5 kB / 3.562 GB, free: 41.89 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2603/11, allocations: 83.66 MB / 3.644 GB, free: 23.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/11, allocations: 1.146 MB / 3.645 GB, free: 22.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002612/11.01, allocations: 0.6403 MB / 3.646 GB, free: 22.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009788/11.01, allocations: 400.1 kB / 3.646 GB, free: 22.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.734e-06/11.01, allocations: 0 / 3.646 GB, free: 22.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5386/11.55, allocations: 61.18 MB / 3.706 GB, free: 59.79 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002325/11.55, allocations: 269.9 kB / 3.706 GB, free: 59.44 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.272/16.82, allocations: 0 / 3.706 GB, free: 59.44 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat