Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.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.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",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.009928/0.009928, allocations: 174.5 kB / 15.12 MB, free: 5.98 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.974/1.974, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.002219/0.002219, allocations: 132.5 kB / 255.6 MB, free: 10.22 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.254/0.254, allocations: 40.02 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004826, allocations: 17.3 kB / 406.3 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1063, allocations: 54.88 MB / 461.2 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.731/7.837, allocations: 2.618 GB / 3.068 GB, free: 49.22 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/7.838, allocations: 87.56 kB / 3.068 GB, free: 49.17 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.122/9.96, allocations: 438.5 MB / 3.496 GB, free: 3.309 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.364e-06/9.96, allocations: 0 / 3.496 GB, free: 3.309 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.258e-05/9.96, allocations: 16 kB / 3.496 GB, free: 3.293 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.007975/9.968, allocations: 1.848 MB / 3.498 GB, free: 1.406 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/9.968, allocations: 12.03 kB / 3.498 GB, free: 1.395 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002884/9.968, allocations: 98.52 kB / 3.498 GB, free: 1.289 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004093/9.972, allocations: 346.8 kB / 3.499 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/9.974, allocations: 0.5994 MB / 3.499 GB, free: 324 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-05/9.974, allocations: 49.31 kB / 3.499 GB, free: 276 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/9.975, allocations: 56 kB / 3.499 GB, free: 220 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3815/10.36, allocations: 1.001 MB / 3.5 GB, free: 51.19 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/10.36, allocations: 4.469 kB / 3.5 GB, free: 51.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/10.36, allocations: 27.14 kB / 3.5 GB, free: 51.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.457e-05/10.36, allocations: 20.66 kB / 3.5 GB, free: 51.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004421/10.36, allocations: 0.9194 MB / 3.501 GB, free: 51.18 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.008122/10.37, allocations: 4.822 MB / 3.506 GB, free: 47.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00385/10.37, allocations: 0.7573 MB / 3.507 GB, free: 47.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06684/10.44, allocations: 21.63 MB / 3.528 GB, free: 34.13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/10.44, allocations: 41.91 kB / 3.528 GB, free: 34.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 3.136e-06/10.44, allocations: 0 / 3.528 GB, free: 34.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=63): time 0.04835/10.49, allocations: 4.372 MB / 3.532 GB, free: 33.51 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/10.49, allocations: 114.9 kB / 3.532 GB, free: 33.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008392/10.49, allocations: 435.1 kB / 3.533 GB, free: 33.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001793/10.49, allocations: 37.36 kB / 3.533 GB, free: 33.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/10.49, allocations: 349 kB / 3.533 GB, free: 33.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002515/10.49, allocations: 216.1 kB / 3.533 GB, free: 32.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.863e-05/10.49, allocations: 12.69 kB / 3.533 GB, free: 32.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/10.49, allocations: 377.4 kB / 3.534 GB, free: 32.65 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/10.49, allocations: 382 kB / 3.534 GB, free: 32.65 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/10.49, allocations: 0.5878 MB / 3.534 GB, free: 32.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/10.5, allocations: 436.1 kB / 3.535 GB, free: 32.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/10.5, allocations: 5.406 kB / 3.535 GB, free: 32.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.005157/10.5, allocations: 1.263 MB / 3.536 GB, free: 32.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005246/10.5, allocations: 2.442 MB / 3.538 GB, free: 29.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/10.5, allocations: 7.031 kB / 3.538 GB, free: 29.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007433/10.51, allocations: 0.9088 MB / 3.539 GB, free: 29.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/10.51, allocations: 166.2 kB / 3.54 GB, free: 29.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/10.51, allocations: 1.694 MB / 3.541 GB, free: 28.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/10.52, allocations: 106.2 kB / 3.541 GB, free: 28.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001885/10.52, allocations: 47.2 kB / 3.541 GB, free: 28.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/10.52, allocations: 7.5 kB / 3.541 GB, free: 28.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005363/10.52, allocations: 1.205 MB / 3.543 GB, free: 28.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/10.52, allocations: 9.5 kB / 3.543 GB, free: 28.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004633/10.53, allocations: 0.6338 MB / 3.543 GB, free: 28.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/10.53, allocations: 168.3 kB / 3.543 GB, free: 28.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003378/10.53, allocations: 1.645 MB / 3.545 GB, free: 27.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/10.53, allocations: 107 kB / 3.545 GB, free: 27.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/10.53, allocations: 48.33 kB / 3.545 GB, free: 27.61 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (69): * Single equations (assignments): 67 * 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.0005962/10.53, allocations: 299.5 kB / 3.545 GB, free: 27.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/10.53, allocations: 69.12 kB / 3.545 GB, free: 27.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008124/10.54, allocations: 3.86 MB / 3.549 GB, free: 27.06 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.735e-05/10.54, allocations: 46.05 kB / 3.549 GB, free: 27.06 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/10.54, allocations: 0 / 3.549 GB, free: 27.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.242e-05/10.54, allocations: 3.938 kB / 3.549 GB, free: 27.06 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/10.55, allocations: 5.194 MB / 3.554 GB, free: 26.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/10.55, allocations: 6.438 kB / 3.554 GB, free: 26.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007973/10.55, allocations: 114 kB / 3.554 GB, free: 26.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007485/10.56, allocations: 1.626 MB / 3.556 GB, free: 26.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001647/10.56, allocations: 34.33 kB / 3.556 GB, free: 26.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003999/10.56, allocations: 2.362 MB / 3.558 GB, free: 25.44 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/10.56, allocations: 3.062 kB / 3.558 GB, free: 25.44 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005859/10.57, allocations: 2.638 MB / 3.561 GB, free: 25.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008526/10.57, allocations: 347.7 kB / 3.561 GB, free: 24.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/10.57, allocations: 12.84 kB / 3.561 GB, free: 24.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/10.57, allocations: 100.8 kB / 3.561 GB, free: 24.92 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/10.57, allocations: 65.16 kB / 3.561 GB, free: 24.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.78e-05/10.57, allocations: 34.98 kB / 3.561 GB, free: 24.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007599/10.57, allocations: 431.9 kB / 3.562 GB, free: 24.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/10.57, allocations: 0 / 3.562 GB, free: 24.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007397/10.58, allocations: 1.576 MB / 3.563 GB, free: 24.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01763/10.6, allocations: 4.793 MB / 3.568 GB, free: 23.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007569/10.61, allocations: 2.054 MB / 3.57 GB, free: 23.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/10.61, allocations: 0 / 3.57 GB, free: 23.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002678/10.61, allocations: 1.122 MB / 3.571 GB, free: 23.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/10.61, allocations: 292.8 kB / 3.571 GB, free: 23.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2495/10.86, allocations: 83.69 MB / 3.653 GB, free: 21.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008305/10.86, allocations: 1.188 MB / 3.654 GB, free: 20.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001899/10.86, allocations: 0.6661 MB / 3.655 GB, free: 20.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000812/10.87, allocations: 440.2 kB / 3.655 GB, free: 19.99 MB / 0.4948 GB Notification: Performance of SimCode: time 1.533e-06/10.87, allocations: 0 / 3.655 GB, free: 19.99 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5139/11.38, allocations: 62.29 MB / 3.716 GB, free: 62.48 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002807/11.38, allocations: 267.5 kB / 3.717 GB, free: 62.12 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.711/17.09, allocations: 4 kB / 3.717 GB, free: 62.12 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat