Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",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.009983/0.009983, allocations: 162.9 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.603/1.603, 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.001944/0.001944, allocations: 114.6 kB / 226.2 MB, free: 10.09 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.4334/0.4334, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004758, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1091, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.823/7.932, allocations: 2.502 GB / 2.904 GB, free: 76.99 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/7.933, allocations: 86.95 kB / 2.904 GB, free: 76.95 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.106/10.04, allocations: 427.3 MB / 3.322 GB, free: 7.848 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.695e-06/10.04, allocations: 0 / 3.322 GB, free: 7.848 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.569e-05/10.04, allocations: 27.84 kB / 3.322 GB, free: 7.824 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.009073/10.05, allocations: 1.784 MB / 3.323 GB, free: 5.996 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/10.05, allocations: 8.031 kB / 3.323 GB, free: 5.988 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002863/10.05, allocations: 106.5 kB / 3.323 GB, free: 5.875 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003714/10.05, allocations: 306.8 kB / 3.324 GB, free: 5.574 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/10.05, allocations: 0.5914 MB / 3.324 GB, free: 4.953 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.266e-05/10.05, allocations: 46.17 kB / 3.324 GB, free: 4.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/10.05, allocations: 60 kB / 3.324 GB, free: 4.852 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003613/10.06, allocations: 1.001 MB / 3.325 GB, free: 3.789 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.371e-05/10.06, allocations: 4 kB / 3.325 GB, free: 3.785 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/10.06, allocations: 24 kB / 3.325 GB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-05/10.06, allocations: 28.98 kB / 3.325 GB, free: 3.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003859/10.06, allocations: 0.9053 MB / 3.326 GB, free: 2.828 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.3403/10.4, allocations: 4.451 MB / 3.331 GB, free: 31.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004481/10.41, allocations: 0.7881 MB / 3.331 GB, free: 31.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3016/10.71, allocations: 82.77 MB / 3.412 GB, free: 31.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.252e-05/10.71, allocations: 34.19 kB / 3.412 GB, free: 31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 2.905e-06/10.71, allocations: 0 / 3.412 GB, free: 31 MB / 490.7 MB Notification: Performance of matching and sorting (n=52): time 0.01108/10.72, allocations: 2.234 MB / 3.414 GB, free: 30.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.155e-05/10.72, allocations: 113.3 kB / 3.415 GB, free: 30.49 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000837/10.72, allocations: 433.1 kB / 3.415 GB, free: 30.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001602/10.72, allocations: 37.64 kB / 3.415 GB, free: 30.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/10.72, allocations: 340.6 kB / 3.415 GB, free: 30.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/10.72, allocations: 172.5 kB / 3.415 GB, free: 30.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.62e-05/10.72, allocations: 14.94 kB / 3.416 GB, free: 30.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/10.72, allocations: 366.7 kB / 3.416 GB, free: 29.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/10.72, allocations: 268.8 kB / 3.416 GB, free: 29.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/10.72, allocations: 465.7 kB / 3.417 GB, free: 29.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/10.72, allocations: 312.2 kB / 3.417 GB, free: 29.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/10.72, allocations: 3.719 kB / 3.417 GB, free: 29.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004071/10.73, allocations: 0.9846 MB / 3.418 GB, free: 29.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008799/10.73, allocations: 2.191 MB / 3.42 GB, free: 27.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/10.73, allocations: 7.375 kB / 3.42 GB, free: 27.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00346/10.73, allocations: 414.8 kB / 3.42 GB, free: 27.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/10.73, allocations: 145 kB / 3.42 GB, free: 27.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/10.74, allocations: 0.9083 MB / 3.421 GB, free: 26.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/10.74, allocations: 96.34 kB / 3.421 GB, free: 26.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/10.74, allocations: 36.45 kB / 3.422 GB, free: 26.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/10.74, allocations: 6.781 kB / 3.422 GB, free: 26.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004277/10.74, allocations: 0.9465 MB / 3.422 GB, free: 26.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/10.74, allocations: 7.625 kB / 3.422 GB, free: 26.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002444/10.75, allocations: 336.7 kB / 3.423 GB, free: 26.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009976/10.75, allocations: 143.1 kB / 3.423 GB, free: 26.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/10.75, allocations: 0.8783 MB / 3.424 GB, free: 26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/10.75, allocations: 98.23 kB / 3.424 GB, free: 25.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.662e-05/10.75, allocations: 30.45 kB / 3.424 GB, free: 25.99 MB / 490.7 MB 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 (61): * Single equations (assignments): 60 * 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 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0006266/10.75, allocations: 298 kB / 3.424 GB, free: 25.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/10.75, allocations: 57 kB / 3.424 GB, free: 25.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005374/10.76, allocations: 2.91 MB / 3.427 GB, free: 25.47 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.258e-05/10.76, allocations: 43 kB / 3.427 GB, free: 25.47 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/10.76, allocations: 2.625 kB / 3.427 GB, free: 25.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/10.76, allocations: 8.266 kB / 3.427 GB, free: 25.47 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007265/10.76, allocations: 4.038 MB / 3.431 GB, free: 25.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/10.76, allocations: 3.344 kB / 3.431 GB, free: 25.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/10.76, allocations: 172 kB / 3.431 GB, free: 25.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005781/10.77, allocations: 73.81 kB / 3.431 GB, free: 25.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.577e-05/10.77, allocations: 28.5 kB / 3.431 GB, free: 25.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009042/10.77, allocations: 1.171 MB / 3.432 GB, free: 23.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/10.77, allocations: 5.25 kB / 3.432 GB, free: 23.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00539/10.77, allocations: 2.565 MB / 3.435 GB, free: 23.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007472/10.77, allocations: 328.3 kB / 3.435 GB, free: 23.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/10.77, allocations: 15.16 kB / 3.435 GB, free: 23.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009223/10.77, allocations: 67.59 kB / 3.435 GB, free: 23.47 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/10.77, allocations: 56 kB / 3.435 GB, free: 23.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.431e-05/10.77, allocations: 23.7 kB / 3.435 GB, free: 23.47 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007448/10.77, allocations: 402.6 kB / 3.436 GB, free: 23.37 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/10.77, allocations: 0 / 3.436 GB, free: 23.37 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006612/10.78, allocations: 1.379 MB / 3.437 GB, free: 23.37 MB / 490.7 MB 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,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$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 (68): * Single equations (assignments): 53 * 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.01691/10.8, allocations: 4.745 MB / 3.442 GB, free: 22.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005429/10.8, allocations: 1.51 MB / 3.443 GB, free: 22.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/10.8, allocations: 0 / 3.443 GB, free: 22.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002249/10.81, allocations: 0.8553 MB / 3.444 GB, free: 22.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002862/10.81, allocations: 297.3 kB / 3.444 GB, free: 22.33 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5778/11.39, allocations: 81.87 MB / 3.524 GB, free: 72.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/11.39, allocations: 1.166 MB / 3.526 GB, free: 71.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002231/11.39, allocations: 0.6407 MB / 3.526 GB, free: 71.31 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/11.39, allocations: 454.9 kB / 3.527 GB, free: 71.31 MB / 490.7 MB Notification: Performance of SimCode: time 1.533e-06/11.39, allocations: 1.406 kB / 3.527 GB, free: 71.31 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1661/11.56, allocations: 54.6 MB / 3.58 GB, free: 70.25 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003302/11.56, allocations: 284.7 kB / 3.58 GB, free: 69.89 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.271/16.83, allocations: 5.438 kB / 3.58 GB, free: 69.88 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat