Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",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.01012/0.01012, allocations: 175.9 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.942/1.942, allocations: 194.5 MB / 210.3 MB, free: 8.781 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: 124.6 kB / 255.6 MB, free: 11.39 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.2517/0.2517, allocations: 40 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000488/0.0004881, allocations: 14.92 kB / 406.3 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1482, allocations: 54.87 MB / 461.1 MB, free: 3.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.592/7.741, allocations: 2.613 GB / 3.063 GB, free: 53.18 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/7.741, allocations: 89.89 kB / 3.064 GB, free: 53.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.137/9.878, allocations: 438.6 MB / 3.492 GB, free: 7.098 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.737e-06/9.878, allocations: 3.938 kB / 3.492 GB, free: 7.094 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.224e-05/9.878, allocations: 18.83 kB / 3.492 GB, free: 7.078 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.008336/9.886, allocations: 1.857 MB / 3.494 GB, free: 5.176 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/9.886, allocations: 8.031 kB / 3.494 GB, free: 5.168 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003254/9.886, allocations: 106.5 kB / 3.494 GB, free: 5.055 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003752/9.89, allocations: 337.7 kB / 3.494 GB, free: 4.727 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/9.892, allocations: 0.5947 MB / 3.495 GB, free: 4.102 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/9.892, allocations: 53.31 kB / 3.495 GB, free: 4.051 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/9.892, allocations: 56 kB / 3.495 GB, free: 3.996 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003729/9.896, allocations: 1.01 MB / 3.496 GB, free: 2.922 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/9.896, allocations: 4 kB / 3.496 GB, free: 2.918 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/9.896, allocations: 31.94 kB / 3.496 GB, free: 2.887 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.606e-05/9.896, allocations: 29.25 kB / 3.496 GB, free: 2.855 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004026/9.9, allocations: 0.9183 MB / 3.497 GB, free: 1.938 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.3628/10.26, allocations: 4.76 MB / 3.501 GB, free: 48.49 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004279/10.27, allocations: 0.8031 MB / 3.502 GB, free: 48.47 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06469/10.33, allocations: 21.38 MB / 3.523 GB, free: 34.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/10.33, allocations: 37.12 kB / 3.523 GB, free: 34.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 4.027e-06/10.33, allocations: 1.125 kB / 3.523 GB, free: 34.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=68): time 0.05159/10.38, allocations: 4.822 MB / 3.528 GB, free: 34.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/10.38, allocations: 117.4 kB / 3.528 GB, free: 34.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008321/10.38, allocations: 451.5 kB / 3.528 GB, free: 34.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000153/10.39, allocations: 35.95 kB / 3.528 GB, free: 34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/10.39, allocations: 352 kB / 3.529 GB, free: 33.83 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/10.39, allocations: 231.9 kB / 3.529 GB, free: 33.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/10.39, allocations: 14.19 kB / 3.529 GB, free: 33.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/10.39, allocations: 377.2 kB / 3.529 GB, free: 33.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001883/10.39, allocations: 462.9 kB / 3.53 GB, free: 33.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002048/10.39, allocations: 0.6652 MB / 3.53 GB, free: 33.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/10.39, allocations: 0.5022 MB / 3.531 GB, free: 33.15 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/10.39, allocations: 4.562 kB / 3.531 GB, free: 33.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.006189/10.4, allocations: 1.506 MB / 3.532 GB, free: 33.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005769/10.4, allocations: 2.441 MB / 3.535 GB, free: 30.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/10.4, allocations: 7.656 kB / 3.535 GB, free: 30.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01363/10.41, allocations: 1.459 MB / 3.536 GB, free: 30.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/10.41, allocations: 173.6 kB / 3.536 GB, free: 30.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004701/10.42, allocations: 1.913 MB / 3.538 GB, free: 29.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/10.42, allocations: 122.3 kB / 3.538 GB, free: 29.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/10.42, allocations: 55.19 kB / 3.538 GB, free: 29.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/10.42, allocations: 9.219 kB / 3.538 GB, free: 29.44 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00638/10.43, allocations: 1.425 MB / 3.54 GB, free: 29.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/10.43, allocations: 7 kB / 3.54 GB, free: 29.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006842/10.43, allocations: 0.8587 MB / 3.541 GB, free: 29.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/10.44, allocations: 190.2 kB / 3.541 GB, free: 29.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004321/10.44, allocations: 1.82 MB / 3.543 GB, free: 28.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/10.44, allocations: 116.9 kB / 3.543 GB, free: 28.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002263/10.44, allocations: 46.48 kB / 3.543 GB, free: 28.34 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 (70): * Single equations (assignments): 68 * 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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006816/10.44, allocations: 299.5 kB / 3.543 GB, free: 28.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/10.44, allocations: 71.48 kB / 3.543 GB, free: 28.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/10.45, allocations: 4.031 MB / 3.547 GB, free: 27.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-05/10.45, allocations: 47.52 kB / 3.547 GB, free: 27.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/10.45, allocations: 0 / 3.547 GB, free: 27.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-05/10.45, allocations: 6.766 kB / 3.547 GB, free: 27.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/10.47, allocations: 5.525 MB / 3.552 GB, free: 27.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/10.47, allocations: 0 / 3.552 GB, free: 27.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007754/10.47, allocations: 110.2 kB / 3.553 GB, free: 27.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01317/10.48, allocations: 2.166 MB / 3.555 GB, free: 27.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/10.48, allocations: 26.98 kB / 3.555 GB, free: 27.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005069/10.48, allocations: 2.591 MB / 3.557 GB, free: 26.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/10.48, allocations: 3.594 kB / 3.557 GB, free: 26.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00785/10.49, allocations: 2.95 MB / 3.56 GB, free: 25.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007996/10.49, allocations: 358.5 kB / 3.56 GB, free: 25.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/10.49, allocations: 13.81 kB / 3.56 GB, free: 25.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/10.49, allocations: 108.4 kB / 3.561 GB, free: 25.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/10.5, allocations: 62.67 kB / 3.561 GB, free: 25.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/10.5, allocations: 36.78 kB / 3.561 GB, free: 25.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007752/10.5, allocations: 441 kB / 3.561 GB, free: 25.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/10.5, allocations: 7.141 kB / 3.561 GB, free: 25.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007379/10.5, allocations: 1.586 MB / 3.563 GB, free: 25.52 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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 (47): * Single equations (assignments): 36 * 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 13,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01849/10.52, allocations: 5.047 MB / 3.568 GB, free: 24.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008369/10.53, allocations: 2.307 MB / 3.57 GB, free: 24.42 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/10.53, allocations: 0 / 3.57 GB, free: 24.42 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003106/10.53, allocations: 1.205 MB / 3.571 GB, free: 24.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/10.54, allocations: 297.2 kB / 3.571 GB, free: 24.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2518/10.79, allocations: 83.75 MB / 3.653 GB, free: 21.15 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008275/10.79, allocations: 1.193 MB / 3.654 GB, free: 20.11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00196/10.79, allocations: 0.6615 MB / 3.655 GB, free: 19.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008447/10.79, allocations: 443.9 kB / 3.655 GB, free: 19.33 MB / 0.4948 GB Notification: Performance of SimCode: time 1.613e-06/10.79, allocations: 0 / 3.655 GB, free: 19.33 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5881/11.38, allocations: 64.79 MB / 3.719 GB, free: 51.65 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002975/11.38, allocations: 272 kB / 3.719 GB, free: 51.29 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.777/17.16, allocations: 6.906 kB / 3.719 GB, free: 51.29 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat