Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",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.0105/0.0105, allocations: 173.2 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.866/1.866, allocations: 194.5 MB / 210.3 MB, free: 7.613 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.002139/0.002139, allocations: 112.7 kB / 255.6 MB, free: 10.24 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.2469/0.2469, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006629/0.0006629, allocations: 10.12 kB / 406.3 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1197, allocations: 54.87 MB / 461.1 MB, free: 3.219 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.629/7.748, allocations: 2.613 GB / 3.063 GB, free: 53.96 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/7.749, allocations: 86.92 kB / 3.063 GB, free: 53.91 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.168/9.917, allocations: 437.8 MB / 3.491 GB, free: 8.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.895e-06/9.917, allocations: 0 / 3.491 GB, free: 8.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.177e-05/9.917, allocations: 23.88 kB / 3.491 GB, free: 8.566 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.007851/9.925, allocations: 1.825 MB / 3.492 GB, free: 6.699 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/9.925, allocations: 12.03 kB / 3.492 GB, free: 6.688 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002913/9.925, allocations: 98.52 kB / 3.493 GB, free: 6.582 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003727/9.929, allocations: 322.8 kB / 3.493 GB, free: 6.266 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/9.931, allocations: 0.5912 MB / 3.493 GB, free: 5.645 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.13e-05/9.931, allocations: 52.28 kB / 3.494 GB, free: 5.598 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/9.931, allocations: 52 kB / 3.494 GB, free: 5.547 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003608/9.935, allocations: 0.9923 MB / 3.495 GB, free: 4.488 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-05/9.935, allocations: 0 / 3.495 GB, free: 4.488 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/9.935, allocations: 28 kB / 3.495 GB, free: 4.461 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.149e-05/9.935, allocations: 21 kB / 3.495 GB, free: 4.438 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004182/9.939, allocations: 0.9052 MB / 3.495 GB, free: 3.531 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.3674/10.31, allocations: 4.447 MB / 3.5 GB, free: 49.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003954/10.31, allocations: 0.7777 MB / 3.501 GB, free: 49.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2894/10.6, allocations: 82.83 MB / 3.581 GB, free: 33.36 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/10.6, allocations: 40.91 kB / 3.581 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 3.576e-06/10.6, allocations: 1.312 kB / 3.581 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.01064/10.61, allocations: 2.21 MB / 3.584 GB, free: 32.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.507e-05/10.61, allocations: 110.9 kB / 3.584 GB, free: 32.83 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008322/10.61, allocations: 434.5 kB / 3.584 GB, free: 32.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001645/10.61, allocations: 36.55 kB / 3.584 GB, free: 32.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/10.61, allocations: 334.6 kB / 3.585 GB, free: 32.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002299/10.61, allocations: 184.3 kB / 3.585 GB, free: 32.44 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.727e-05/10.61, allocations: 14.06 kB / 3.585 GB, free: 32.44 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001889/10.61, allocations: 362.2 kB / 3.585 GB, free: 32.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/10.61, allocations: 267.9 kB / 3.585 GB, free: 32.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/10.62, allocations: 464.7 kB / 3.586 GB, free: 31.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/10.62, allocations: 317.4 kB / 3.586 GB, free: 31.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/10.62, allocations: 3.969 kB / 3.586 GB, free: 31.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004079/10.62, allocations: 0.9798 MB / 3.587 GB, free: 31.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009654/10.62, allocations: 2.18 MB / 3.589 GB, free: 29.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/10.62, allocations: 7.594 kB / 3.589 GB, free: 29.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003438/10.63, allocations: 412.5 kB / 3.59 GB, free: 29.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009826/10.63, allocations: 140.3 kB / 3.59 GB, free: 29.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/10.63, allocations: 0.9173 MB / 3.591 GB, free: 28.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/10.63, allocations: 98.25 kB / 3.591 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/10.63, allocations: 41.16 kB / 3.591 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/10.63, allocations: 3.938 kB / 3.591 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004238/10.63, allocations: 0.9339 MB / 3.592 GB, free: 28.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/10.63, allocations: 3.531 kB / 3.592 GB, free: 28.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002377/10.64, allocations: 316.9 kB / 3.592 GB, free: 28.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/10.64, allocations: 151.5 kB / 3.592 GB, free: 28.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/10.64, allocations: 0.8748 MB / 3.593 GB, free: 28.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/10.64, allocations: 89.98 kB / 3.593 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.748e-05/10.64, allocations: 38 kB / 3.593 GB, free: 28.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.0005903/10.64, allocations: 291 kB / 3.593 GB, free: 28.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/10.64, allocations: 58.34 kB / 3.593 GB, free: 28.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005456/10.65, allocations: 2.901 MB / 3.596 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.011e-05/10.65, allocations: 40.56 kB / 3.596 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/10.65, allocations: 3.938 kB / 3.596 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/10.65, allocations: 6.125 kB / 3.596 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007122/10.65, allocations: 4.039 MB / 3.6 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/10.65, allocations: 0 / 3.6 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/10.66, allocations: 166.4 kB / 3.6 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005921/10.66, allocations: 78.66 kB / 3.6 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/10.66, allocations: 19.41 kB / 3.6 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009959/10.66, allocations: 1.178 MB / 3.602 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/10.66, allocations: 0 / 3.602 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005455/10.66, allocations: 2.547 MB / 3.604 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007507/10.66, allocations: 318.2 kB / 3.604 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/10.66, allocations: 18.84 kB / 3.604 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000932/10.67, allocations: 69.38 kB / 3.604 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/10.67, allocations: 58.31 kB / 3.605 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.988e-05/10.67, allocations: 24.47 kB / 3.605 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007695/10.67, allocations: 397.1 kB / 3.605 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.1e-07/10.67, allocations: 2.531 kB / 3.605 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006845/10.67, allocations: 1.387 MB / 3.606 GB, free: 25.69 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$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 (67): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01698/10.69, allocations: 4.739 MB / 3.611 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005141/10.7, allocations: 1.479 MB / 3.612 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/10.7, allocations: 0.5 kB / 3.612 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001989/10.7, allocations: 0.8574 MB / 3.613 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002939/10.7, allocations: 285.8 kB / 3.613 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6242/11.32, allocations: 83.53 MB / 3.695 GB, free: 74.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007652/11.33, allocations: 1.162 MB / 3.696 GB, free: 73.38 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001974/11.33, allocations: 0.643 MB / 3.697 GB, free: 73.37 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008686/11.33, allocations: 448.9 kB / 3.697 GB, free: 73.37 MB / 0.5105 GB Notification: Performance of SimCode: time 1.162e-06/11.33, allocations: 1.156 kB / 3.697 GB, free: 73.37 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1529/11.48, allocations: 54.46 MB / 3.75 GB, free: 72.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002443/11.48, allocations: 266.6 kB / 3.751 GB, free: 72.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.189/16.67, allocations: 6.484 kB / 3.751 GB, free: 72.03 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat does not exist to compare? outputFormat=mat