Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",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.009829/0.009829, allocations: 174 kB / 15.12 MB, free: 6.043 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.992/1.992, allocations: 194.5 MB / 210.3 MB, free: 11.4 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.001991/0.001991, allocations: 120.6 kB / 255.6 MB, free: 14.52 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.4599/0.4599, allocations: 40 MB / 340.8 MB, free: 15 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004854, allocations: 16 kB / 406.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3631, allocations: 54.87 MB / 461.1 MB, free: 24.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.869/8.232, allocations: 2.613 GB / 3.063 GB, free: 81.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/8.233, allocations: 91.5 kB / 3.063 GB, free: 81.35 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.221/10.45, allocations: 437.4 MB / 3.49 GB, free: 35.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.944e-06/10.45, allocations: 0 / 3.49 GB, free: 35.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.13e-05/10.45, allocations: 20 kB / 3.49 GB, free: 35.12 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.007946/10.46, allocations: 1.828 MB / 3.492 GB, free: 33.26 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/10.46, allocations: 8.031 kB / 3.492 GB, free: 33.25 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002683/10.46, allocations: 102.4 kB / 3.492 GB, free: 33.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003615/10.47, allocations: 334.2 kB / 3.492 GB, free: 32.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/10.47, allocations: 0.5858 MB / 3.493 GB, free: 32.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.826e-05/10.47, allocations: 45.31 kB / 3.493 GB, free: 32.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/10.47, allocations: 56 kB / 3.493 GB, free: 32.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00358/10.47, allocations: 0.987 MB / 3.494 GB, free: 31.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/10.47, allocations: 4 kB / 3.494 GB, free: 31.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/10.47, allocations: 28 kB / 3.494 GB, free: 31.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.883e-05/10.47, allocations: 17 kB / 3.494 GB, free: 31.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003798/10.47, allocations: 0.8999 MB / 3.495 GB, free: 30.13 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.00677/10.48, allocations: 4.727 MB / 3.5 GB, free: 25.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003281/10.49, allocations: 0.6817 MB / 3.5 GB, free: 24.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06302/10.55, allocations: 21.38 MB / 3.521 GB, free: 296 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/10.55, allocations: 38.52 kB / 3.521 GB, free: 248 kB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 3.086e-06/10.55, allocations: 4 kB / 3.521 GB, free: 244 kB / 490.7 MB Notification: Performance of matching and sorting (n=60): time 0.422/10.97, allocations: 4.3 MB / 3.525 GB, free: 55.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/10.97, allocations: 114 kB / 3.526 GB, free: 55.49 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009833/10.97, allocations: 439.8 kB / 3.526 GB, free: 55.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001604/10.97, allocations: 36.39 kB / 3.526 GB, free: 55.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/10.97, allocations: 344.4 kB / 3.526 GB, free: 55.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/10.97, allocations: 209.7 kB / 3.526 GB, free: 55.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.915e-05/10.97, allocations: 14.62 kB / 3.527 GB, free: 55.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/10.97, allocations: 370.6 kB / 3.527 GB, free: 54.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/10.97, allocations: 372.9 kB / 3.527 GB, free: 54.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/10.98, allocations: 0.5822 MB / 3.528 GB, free: 54.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/10.98, allocations: 425.4 kB / 3.528 GB, free: 54.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/10.98, allocations: 2.25 kB / 3.528 GB, free: 54.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.005264/10.98, allocations: 1.248 MB / 3.529 GB, free: 54.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005564/10.98, allocations: 2.446 MB / 3.532 GB, free: 51.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/10.98, allocations: 8.562 kB / 3.532 GB, free: 51.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007791/10.99, allocations: 0.9032 MB / 3.533 GB, free: 51.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/10.99, allocations: 164 kB / 3.533 GB, free: 51.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00395/11, allocations: 1.689 MB / 3.535 GB, free: 50.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/11, allocations: 103.3 kB / 3.535 GB, free: 50.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/11, allocations: 45.89 kB / 3.535 GB, free: 50.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/11, allocations: 5.125 kB / 3.535 GB, free: 50.81 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004923/11, allocations: 1.18 MB / 3.536 GB, free: 50.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/11, allocations: 7.719 kB / 3.536 GB, free: 50.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004554/11.01, allocations: 0.6293 MB / 3.536 GB, free: 50.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/11.01, allocations: 166 kB / 3.537 GB, free: 50.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003323/11.01, allocations: 1.64 MB / 3.538 GB, free: 49.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/11.01, allocations: 97.66 kB / 3.538 GB, free: 49.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/11.01, allocations: 45.7 kB / 3.538 GB, free: 49.72 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 (66): * Single equations (assignments): 64 * 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.0006493/11.02, allocations: 294.1 kB / 3.539 GB, free: 49.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/11.02, allocations: 69.17 kB / 3.539 GB, free: 49.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008524/11.02, allocations: 3.808 MB / 3.542 GB, free: 49.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.724e-05/11.02, allocations: 44.3 kB / 3.542 GB, free: 49.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/11.02, allocations: 1.094 kB / 3.542 GB, free: 49.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/11.02, allocations: 6.719 kB / 3.542 GB, free: 49.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00972/11.03, allocations: 5.08 MB / 3.547 GB, free: 48.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/11.03, allocations: 0 / 3.547 GB, free: 48.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007533/11.03, allocations: 110.7 kB / 3.548 GB, free: 48.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007587/11.04, allocations: 1.66 MB / 3.549 GB, free: 48.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/11.04, allocations: 26.36 kB / 3.549 GB, free: 48.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003974/11.05, allocations: 2.363 MB / 3.551 GB, free: 47.56 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/11.05, allocations: 5.688 kB / 3.551 GB, free: 47.56 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005632/11.05, allocations: 2.598 MB / 3.554 GB, free: 47.22 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006653/11.05, allocations: 349.5 kB / 3.554 GB, free: 47.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/11.05, allocations: 13.47 kB / 3.554 GB, free: 47.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/11.05, allocations: 102.7 kB / 3.554 GB, free: 47.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/11.05, allocations: 59.75 kB / 3.554 GB, free: 47.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.778e-05/11.05, allocations: 30.53 kB / 3.555 GB, free: 47.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007229/11.06, allocations: 432.5 kB / 3.555 GB, free: 46.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/11.06, allocations: 0 / 3.555 GB, free: 46.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007832/11.06, allocations: 1.561 MB / 3.556 GB, free: 46.95 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 (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 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01807/11.08, allocations: 4.765 MB / 3.561 GB, free: 45.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007457/11.09, allocations: 2.014 MB / 3.563 GB, free: 45.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/11.09, allocations: 3.25 kB / 3.563 GB, free: 45.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002819/11.09, allocations: 1.113 MB / 3.564 GB, free: 45.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/11.09, allocations: 304.2 kB / 3.564 GB, free: 45.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2567/11.35, allocations: 83.61 MB / 3.646 GB, free: 35.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000708/11.35, allocations: 1.181 MB / 3.647 GB, free: 34.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00182/11.35, allocations: 0.6511 MB / 3.648 GB, free: 34.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006905/11.35, allocations: 433.7 kB / 3.648 GB, free: 34.05 MB / 490.7 MB Notification: Performance of SimCode: time 8.52e-07/11.35, allocations: 0 / 3.648 GB, free: 34.05 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5261/11.88, allocations: 61.9 MB / 3.709 GB, free: 65.68 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002919/11.88, allocations: 263 kB / 3.709 GB, free: 65.33 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.419/17.3, allocations: 3.938 kB / 3.709 GB, free: 65.32 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat