Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01358/0.01358, allocations: 166.5 kB / 15.11 MB, free: 5.93 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.73/1.73, 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.002055/0.002054, allocations: 99.03 kB / 226.2 MB, free: 10.11 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.4482/0.4482, allocations: 38.05 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004723/0.0004724, allocations: 12 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1063, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.891/7.997, allocations: 2.502 GB / 2.904 GB, free: 30.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/7.998, allocations: 88.64 kB / 2.904 GB, free: 30.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.482/10.48, allocations: 426.7 MB / 3.321 GB, free: 43.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.374e-06/10.48, allocations: 0 / 3.321 GB, free: 43.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000103/10.48, allocations: 17.16 kB / 3.321 GB, free: 43.75 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.0116/10.49, allocations: 1.802 MB / 3.323 GB, free: 42.9 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.372e-05/10.49, allocations: 9.844 kB / 3.323 GB, free: 42.9 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004148/10.49, allocations: 101.5 kB / 3.323 GB, free: 42.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006153/10.5, allocations: 322.5 kB / 3.323 GB, free: 42.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/10.5, allocations: 0.5791 MB / 3.324 GB, free: 42.56 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/10.5, allocations: 48.34 kB / 3.324 GB, free: 42.56 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002276/10.5, allocations: 50.66 kB / 3.324 GB, free: 42.56 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006171/10.51, allocations: 1.015 MB / 3.325 GB, free: 42.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.735e-05/10.51, allocations: 6.219 kB / 3.325 GB, free: 42.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/10.51, allocations: 27.77 kB / 3.325 GB, free: 42.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-05/10.51, allocations: 22.84 kB / 3.325 GB, free: 42.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004502/10.51, allocations: 0.94 MB / 3.326 GB, free: 42.36 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.007516/10.52, allocations: 4.62 MB / 3.33 GB, free: 39.19 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004157/10.52, allocations: 0.7879 MB / 3.331 GB, free: 39.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05517/10.58, allocations: 18.35 MB / 3.349 GB, free: 27.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/10.58, allocations: 41.91 kB / 3.349 GB, free: 27.67 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 3.697e-06/10.58, allocations: 0 / 3.349 GB, free: 27.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.05092/10.63, allocations: 4.752 MB / 3.354 GB, free: 27.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/10.63, allocations: 112.2 kB / 3.354 GB, free: 26.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007486/10.63, allocations: 415.3 kB / 3.354 GB, free: 26.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001529/10.63, allocations: 41.55 kB / 3.354 GB, free: 26.76 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/10.63, allocations: 350.9 kB / 3.354 GB, free: 26.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/10.63, allocations: 219.6 kB / 3.355 GB, free: 26.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.382e-05/10.63, allocations: 13.78 kB / 3.355 GB, free: 26.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/10.63, allocations: 376.3 kB / 3.355 GB, free: 26.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/10.63, allocations: 412.4 kB / 3.355 GB, free: 26.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/10.64, allocations: 0.6304 MB / 3.356 GB, free: 25.85 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/10.64, allocations: 477.2 kB / 3.356 GB, free: 25.85 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/10.64, allocations: 3.875 kB / 3.356 GB, free: 25.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005401/10.64, allocations: 1.344 MB / 3.358 GB, free: 25.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006641/10.64, allocations: 2.615 MB / 3.36 GB, free: 23.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/10.64, allocations: 7.625 kB / 3.36 GB, free: 23.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007876/10.65, allocations: 0.9231 MB / 3.361 GB, free: 23.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/10.65, allocations: 186.5 kB / 3.361 GB, free: 23.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004229/10.66, allocations: 1.722 MB / 3.363 GB, free: 21.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/10.66, allocations: 123.7 kB / 3.363 GB, free: 21.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/10.66, allocations: 45.41 kB / 3.363 GB, free: 21.94 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/10.66, allocations: 3.406 kB / 3.363 GB, free: 21.94 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005769/10.67, allocations: 1.306 MB / 3.365 GB, free: 21.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/10.67, allocations: 7.844 kB / 3.365 GB, free: 21.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004987/10.67, allocations: 0.6511 MB / 3.365 GB, free: 21.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/10.67, allocations: 190.8 kB / 3.365 GB, free: 21.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003617/10.68, allocations: 1.668 MB / 3.367 GB, free: 20.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/10.68, allocations: 116 kB / 3.367 GB, free: 20.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/10.68, allocations: 46.73 kB / 3.367 GB, free: 20.78 MB / 442.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.00066/10.68, allocations: 305.9 kB / 3.367 GB, free: 20.58 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/10.68, allocations: 67.81 kB / 3.367 GB, free: 20.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009189/10.69, allocations: 3.651 MB / 3.371 GB, free: 20.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.928e-05/10.69, allocations: 39.92 kB / 3.371 GB, free: 20.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/10.69, allocations: 3.906 kB / 3.371 GB, free: 20.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/10.69, allocations: 7.75 kB / 3.371 GB, free: 20.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/10.7, allocations: 4.862 MB / 3.376 GB, free: 19.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/10.7, allocations: 0 / 3.376 GB, free: 19.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009845/10.7, allocations: 133.7 kB / 3.376 GB, free: 19.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007806/10.71, allocations: 1.664 MB / 3.378 GB, free: 18.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001735/10.71, allocations: 23.19 kB / 3.378 GB, free: 18.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004876/10.71, allocations: 2.373 MB / 3.38 GB, free: 33.22 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/10.71, allocations: 7.578 kB / 3.38 GB, free: 33.21 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006421/10.72, allocations: 2.511 MB / 3.382 GB, free: 32.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00083/10.72, allocations: 320.7 kB / 3.383 GB, free: 31.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/10.72, allocations: 19.25 kB / 3.383 GB, free: 31.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/10.72, allocations: 114 kB / 3.383 GB, free: 31.81 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/10.72, allocations: 61.16 kB / 3.383 GB, free: 31.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.353e-05/10.72, allocations: 31.31 kB / 3.383 GB, free: 31.79 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007321/10.72, allocations: 413.2 kB / 3.383 GB, free: 31.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.31e-07/10.72, allocations: 0 / 3.383 GB, free: 31.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007793/10.73, allocations: 1.554 MB / 3.385 GB, free: 31.28 MB / 458.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.01892/10.75, allocations: 4.732 MB / 3.389 GB, free: 29.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008277/10.76, allocations: 2.052 MB / 3.391 GB, free: 28.58 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/10.76, allocations: 0 / 3.391 GB, free: 28.58 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002987/10.76, allocations: 1.036 MB / 3.392 GB, free: 28.15 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/10.76, allocations: 295.8 kB / 3.393 GB, free: 28.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6291/11.39, allocations: 82.37 MB / 3.473 GB, free: 48.33 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/11.39, allocations: 1.142 MB / 3.474 GB, free: 47.62 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001949/11.39, allocations: 0.6429 MB / 3.475 GB, free: 47.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006756/11.4, allocations: 398.8 kB / 3.475 GB, free: 47.62 MB / 458.7 MB Notification: Performance of SimCode: time 1.062e-06/11.4, allocations: 0 / 3.475 GB, free: 47.62 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1538/11.55, allocations: 60.97 MB / 3.535 GB, free: 45.48 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003058/11.55, allocations: 277.7 kB / 3.535 GB, free: 45.12 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.161/16.71, allocations: 0 / 3.535 GB, free: 45.12 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat