Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.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.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01032/0.01032, allocations: 165.5 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.637/1.637, allocations: 170.8 MB / 186.6 MB, free: 1.102 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.002015/0.002015, allocations: 104.3 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.4358/0.4358, allocations: 38.05 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004832/0.0004833, allocations: 8 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.106, allocations: 48.71 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.623/7.729, allocations: 2.507 GB / 2.909 GB, free: 72.36 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/7.73, allocations: 86.58 kB / 2.909 GB, free: 72.31 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.068/9.797, allocations: 427.5 MB / 3.327 GB, free: 3.266 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.066e-06/9.797, allocations: 0 / 3.327 GB, free: 3.266 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.797e-05/9.797, allocations: 19.12 kB / 3.327 GB, free: 3.25 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.01012/9.807, allocations: 1.8 MB / 3.329 GB, free: 1.414 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/9.808, allocations: 16.03 kB / 3.329 GB, free: 1.398 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002952/9.808, allocations: 98.52 kB / 3.329 GB, free: 1.293 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003864/9.812, allocations: 334.7 kB / 3.329 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/9.813, allocations: 0.5917 MB / 3.33 GB, free: 352 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.329e-05/9.813, allocations: 50.17 kB / 3.33 GB, free: 304 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/9.814, allocations: 56 kB / 3.33 GB, free: 248 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.326/10.14, allocations: 1.003 MB / 3.331 GB, free: 33.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/10.14, allocations: 4.031 kB / 3.331 GB, free: 33.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/10.14, allocations: 27.06 kB / 3.331 GB, free: 33.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.414e-05/10.14, allocations: 22.64 kB / 3.331 GB, free: 33.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004719/10.14, allocations: 0.9206 MB / 3.332 GB, free: 33.4 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.009227/10.15, allocations: 4.822 MB / 3.336 GB, free: 30.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003981/10.16, allocations: 0.7563 MB / 3.337 GB, free: 30.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06538/10.22, allocations: 21.59 MB / 3.358 GB, free: 32.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/10.22, allocations: 40.31 kB / 3.358 GB, free: 32.32 MB / 458.7 MB Notification: Performance of pre-optimization done (n=46): time 3.277e-06/10.22, allocations: 0 / 3.358 GB, free: 32.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=63): time 0.06396/10.29, allocations: 4.369 MB / 3.362 GB, free: 31.73 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/10.29, allocations: 111.2 kB / 3.363 GB, free: 31.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/10.29, allocations: 437.5 kB / 3.363 GB, free: 31.49 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001883/10.29, allocations: 36.36 kB / 3.363 GB, free: 31.46 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/10.29, allocations: 356.1 kB / 3.363 GB, free: 31.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/10.29, allocations: 215.5 kB / 3.364 GB, free: 31.19 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/10.29, allocations: 11.81 kB / 3.364 GB, free: 31.19 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002306/10.29, allocations: 368 kB / 3.364 GB, free: 30.88 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/10.29, allocations: 386.8 kB / 3.364 GB, free: 30.88 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002169/10.29, allocations: 0.5936 MB / 3.365 GB, free: 30.62 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002251/10.3, allocations: 436.3 kB / 3.365 GB, free: 30.62 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/10.3, allocations: 3 kB / 3.365 GB, free: 30.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.006552/10.3, allocations: 1.261 MB / 3.366 GB, free: 30.53 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001225/10.3, allocations: 2.444 MB / 3.369 GB, free: 27.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/10.3, allocations: 9.094 kB / 3.369 GB, free: 27.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008656/10.31, allocations: 0.8954 MB / 3.37 GB, free: 27.97 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/10.31, allocations: 172.2 kB / 3.37 GB, free: 27.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003954/10.32, allocations: 1.693 MB / 3.372 GB, free: 26.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/10.32, allocations: 103 kB / 3.372 GB, free: 26.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/10.32, allocations: 54.03 kB / 3.372 GB, free: 26.92 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/10.32, allocations: 5.312 kB / 3.372 GB, free: 26.92 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005059/10.33, allocations: 1.213 MB / 3.373 GB, free: 26.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/10.33, allocations: 5.844 kB / 3.373 GB, free: 26.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004679/10.33, allocations: 0.6308 MB / 3.374 GB, free: 26.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/10.33, allocations: 174 kB / 3.374 GB, free: 26.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003754/10.34, allocations: 1.645 MB / 3.375 GB, free: 25.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/10.34, allocations: 106 kB / 3.375 GB, free: 25.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/10.34, allocations: 44.23 kB / 3.375 GB, free: 25.82 MB / 458.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.0006837/10.34, allocations: 306 kB / 3.376 GB, free: 25.64 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/10.34, allocations: 67.39 kB / 3.376 GB, free: 25.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008375/10.35, allocations: 3.846 MB / 3.38 GB, free: 25.28 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-05/10.35, allocations: 44.66 kB / 3.38 GB, free: 25.28 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/10.35, allocations: 3.75 kB / 3.38 GB, free: 25.28 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/10.35, allocations: 6.375 kB / 3.38 GB, free: 25.28 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/10.36, allocations: 5.191 MB / 3.385 GB, free: 24.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/10.36, allocations: 2.719 kB / 3.385 GB, free: 24.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000809/10.36, allocations: 113.5 kB / 3.385 GB, free: 24.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007725/10.37, allocations: 1.637 MB / 3.386 GB, free: 24.73 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/10.37, allocations: 22.27 kB / 3.386 GB, free: 24.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004436/10.37, allocations: 2.369 MB / 3.389 GB, free: 23.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/10.37, allocations: 0 / 3.389 GB, free: 23.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007053/10.38, allocations: 2.64 MB / 3.391 GB, free: 23.31 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/10.38, allocations: 349.9 kB / 3.392 GB, free: 23.14 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/10.38, allocations: 11.66 kB / 3.392 GB, free: 23.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/10.38, allocations: 105.4 kB / 3.392 GB, free: 23.14 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/10.38, allocations: 63.55 kB / 3.392 GB, free: 23.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/10.38, allocations: 37.34 kB / 3.392 GB, free: 23.14 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008718/10.38, allocations: 434.5 kB / 3.392 GB, free: 23.04 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.91e-07/10.38, allocations: 0 / 3.392 GB, free: 23.04 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007735/10.39, allocations: 1.556 MB / 3.394 GB, free: 23.02 MB / 458.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.01714/10.41, allocations: 4.788 MB / 3.398 GB, free: 21.97 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007272/10.41, allocations: 2.05 MB / 3.4 GB, free: 21.92 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/10.41, allocations: 3.656 kB / 3.4 GB, free: 21.92 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002621/10.42, allocations: 1.121 MB / 3.402 GB, free: 21.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/10.42, allocations: 295.8 kB / 3.402 GB, free: 21.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2444/10.66, allocations: 82.39 MB / 3.482 GB, free: 23.35 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009015/10.66, allocations: 1.182 MB / 3.483 GB, free: 22.31 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001958/10.67, allocations: 0.6692 MB / 3.484 GB, free: 21.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000926/10.67, allocations: 444.5 kB / 3.485 GB, free: 21.54 MB / 474.7 MB Notification: Performance of SimCode: time 2.164e-06/10.67, allocations: 2.25 kB / 3.485 GB, free: 21.54 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5013/11.17, allocations: 62.07 MB / 3.545 GB, free: 58.79 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002763/11.17, allocations: 262.5 kB / 3.545 GB, free: 58.43 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.344/16.51, allocations: 0 / 3.545 GB, free: 58.43 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat