Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",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.01692/0.01692, allocations: 178 kB / 15.12 MB, free: 5.934 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 2.027/2.027, allocations: 194.5 MB / 210.3 MB, free: 8.785 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.002042/0.002042, allocations: 120.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.2476/0.2476, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004806, allocations: 11.31 kB / 406.3 MB, free: 52.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1081, allocations: 54.87 MB / 461.2 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.606/7.714, allocations: 2.596 GB / 3.046 GB, free: 73.45 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/7.714, allocations: 97.89 kB / 3.046 GB, free: 73.39 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.038/9.753, allocations: 419 MB / 3.455 GB, free: 46.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.175e-06/9.753, allocations: 0 / 3.455 GB, free: 46.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.321e-05/9.753, allocations: 19.94 kB / 3.455 GB, free: 46.18 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.007626/9.76, allocations: 1.723 MB / 3.457 GB, free: 44.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/9.761, allocations: 8.031 kB / 3.457 GB, free: 44.43 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002587/9.761, allocations: 102.5 kB / 3.457 GB, free: 44.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003303/9.764, allocations: 302.3 kB / 3.458 GB, free: 44.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/9.766, allocations: 0.5424 MB / 3.458 GB, free: 43.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.4e-05/9.766, allocations: 45.31 kB / 3.458 GB, free: 43.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/9.766, allocations: 55.95 kB / 3.458 GB, free: 43.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003477/9.769, allocations: 0.9581 MB / 3.459 GB, free: 42.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/9.769, allocations: 4 kB / 3.459 GB, free: 42.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/9.77, allocations: 26.81 kB / 3.459 GB, free: 42.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-05/9.77, allocations: 20.98 kB / 3.459 GB, free: 42.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003727/9.773, allocations: 0.8657 MB / 3.46 GB, free: 41.44 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.006392/9.78, allocations: 4.566 MB / 3.464 GB, free: 36.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003648/9.783, allocations: 0.7302 MB / 3.465 GB, free: 35.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06193/9.845, allocations: 21.38 MB / 3.486 GB, free: 11.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/9.846, allocations: 43.23 kB / 3.486 GB, free: 11.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 3.246e-06/9.846, allocations: 0 / 3.486 GB, free: 11.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=58): time 0.01865/9.864, allocations: 3.266 MB / 3.489 GB, free: 8.531 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/9.864, allocations: 115.3 kB / 3.489 GB, free: 8.395 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005883/9.865, allocations: 380.9 kB / 3.49 GB, free: 8.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.823e-05/9.865, allocations: 37.7 kB / 3.49 GB, free: 7.977 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/9.865, allocations: 326.9 kB / 3.49 GB, free: 7.656 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/9.865, allocations: 200.3 kB / 3.49 GB, free: 7.461 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.892e-05/9.866, allocations: 12 kB / 3.49 GB, free: 7.449 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/9.866, allocations: 358.8 kB / 3.491 GB, free: 7.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/9.867, allocations: 313.8 kB / 3.491 GB, free: 6.781 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/9.868, allocations: 0.4992 MB / 3.491 GB, free: 6.195 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/9.869, allocations: 354 kB / 3.492 GB, free: 5.848 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/9.869, allocations: 4 kB / 3.492 GB, free: 5.844 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.005232/9.875, allocations: 1.136 MB / 3.493 GB, free: 4.695 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004878/9.875, allocations: 2.363 MB / 3.495 GB, free: 2.148 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/9.875, allocations: 4 kB / 3.495 GB, free: 2.145 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004303/9.88, allocations: 491.3 kB / 3.496 GB, free: 1.664 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009591/9.881, allocations: 143.8 kB / 3.496 GB, free: 1.523 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3552/10.24, allocations: 1.519 MB / 3.497 GB, free: 60.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/10.24, allocations: 90.03 kB / 3.497 GB, free: 60.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/10.24, allocations: 38.8 kB / 3.497 GB, free: 60.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/10.24, allocations: 3.125 kB / 3.497 GB, free: 60.65 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005392/10.24, allocations: 1.058 MB / 3.498 GB, free: 60.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/10.24, allocations: 6.375 kB / 3.498 GB, free: 60.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003853/10.25, allocations: 451.8 kB / 3.499 GB, free: 60.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009715/10.25, allocations: 150.9 kB / 3.499 GB, free: 60.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002712/10.25, allocations: 1.495 MB / 3.501 GB, free: 59.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/10.25, allocations: 86.14 kB / 3.501 GB, free: 59.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/10.25, allocations: 39.59 kB / 3.501 GB, free: 59.59 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (63): * Single equations (assignments): 61 * 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 9,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005939/10.25, allocations: 291.8 kB / 3.501 GB, free: 59.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/10.25, allocations: 65.95 kB / 3.501 GB, free: 59.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008232/10.26, allocations: 3.402 MB / 3.504 GB, free: 59.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001141/10.26, allocations: 47.55 kB / 3.504 GB, free: 59.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/10.26, allocations: 4.031 kB / 3.504 GB, free: 59.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/10.26, allocations: 1.875 kB / 3.504 GB, free: 59.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/10.27, allocations: 4.662 MB / 3.509 GB, free: 58.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/10.27, allocations: 1.891 kB / 3.509 GB, free: 58.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008026/10.27, allocations: 105.8 kB / 3.509 GB, free: 58.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004647/10.28, allocations: 0.9088 MB / 3.51 GB, free: 58.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/10.28, allocations: 18.89 kB / 3.51 GB, free: 58.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003282/10.28, allocations: 1.953 MB / 3.512 GB, free: 57.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/10.28, allocations: 2.016 kB / 3.512 GB, free: 57.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005531/10.29, allocations: 2.191 MB / 3.514 GB, free: 57.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007964/10.29, allocations: 319 kB / 3.514 GB, free: 57.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/10.29, allocations: 12.36 kB / 3.514 GB, free: 57.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/10.29, allocations: 93.16 kB / 3.514 GB, free: 57.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/10.29, allocations: 59.22 kB / 3.514 GB, free: 57.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.781e-05/10.29, allocations: 29.75 kB / 3.514 GB, free: 57.08 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007265/10.29, allocations: 388.5 kB / 3.515 GB, free: 56.99 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.01e-07/10.29, allocations: 1.188 kB / 3.515 GB, free: 56.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00716/10.3, allocations: 1.411 MB / 3.516 GB, free: 56.99 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01583/10.31, allocations: 4.318 MB / 3.52 GB, free: 56.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006731/10.32, allocations: 1.767 MB / 3.522 GB, free: 55.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/10.32, allocations: 0 / 3.522 GB, free: 55.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002526/10.32, allocations: 0.9821 MB / 3.523 GB, free: 55.97 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/10.32, allocations: 276.8 kB / 3.523 GB, free: 55.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2957/10.62, allocations: 85.29 MB / 3.607 GB, free: 46.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006519/10.62, allocations: 1.16 MB / 3.608 GB, free: 46.26 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001762/10.62, allocations: 0.6604 MB / 3.608 GB, free: 46.22 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006489/10.62, allocations: 413.4 kB / 3.609 GB, free: 46.21 MB / 490.7 MB Notification: Performance of SimCode: time 2.214e-06/10.62, allocations: 0 / 3.609 GB, free: 46.21 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.123/10.75, allocations: 56.57 MB / 3.664 GB, free: 7.25 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/10.75, allocations: 265.4 kB / 3.664 GB, free: 6.895 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.54/16.29, allocations: 0 / 3.664 GB, free: 6.895 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat