Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",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.01022/0.01022, allocations: 165.6 kB / 15.11 MB, free: 5.934 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.602/1.602, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001995/0.001994, allocations: 122.4 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.473/0.473, allocations: 38.06 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000672/0.0006721, allocations: 12 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1261, allocations: 48.7 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.751/7.878, allocations: 2.502 GB / 2.904 GB, free: 30.29 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/7.878, allocations: 88.69 kB / 2.904 GB, free: 30.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.353/10.23, allocations: 427.2 MB / 3.321 GB, free: 43.76 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.014e-06/10.23, allocations: 0 / 3.321 GB, free: 43.76 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.735e-05/10.23, allocations: 17.98 kB / 3.321 GB, free: 43.76 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.00835/10.24, allocations: 1.783 MB / 3.323 GB, free: 42.95 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/10.24, allocations: 13.22 kB / 3.323 GB, free: 42.95 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002898/10.24, allocations: 99.91 kB / 3.323 GB, free: 42.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003715/10.24, allocations: 314.8 kB / 3.324 GB, free: 42.87 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/10.25, allocations: 0.5876 MB / 3.324 GB, free: 42.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.519e-05/10.25, allocations: 48.94 kB / 3.324 GB, free: 42.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/10.25, allocations: 59.92 kB / 3.324 GB, free: 42.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003768/10.25, allocations: 0.9917 MB / 3.325 GB, free: 42.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/10.25, allocations: 5.906 kB / 3.325 GB, free: 42.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/10.25, allocations: 24.28 kB / 3.325 GB, free: 42.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-05/10.25, allocations: 20.41 kB / 3.325 GB, free: 42.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003874/10.25, allocations: 0.9048 MB / 3.326 GB, free: 42.39 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.006435/10.26, allocations: 4.334 MB / 3.33 GB, free: 39.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003619/10.26, allocations: 0.7473 MB / 3.331 GB, free: 39.26 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2778/10.54, allocations: 78.98 MB / 3.408 GB, free: 27.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.733e-05/10.54, allocations: 38.84 kB / 3.408 GB, free: 27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 3.767e-06/10.54, allocations: 0 / 3.408 GB, free: 27 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.0103/10.55, allocations: 2.289 MB / 3.411 GB, free: 26.46 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.154e-05/10.55, allocations: 106.6 kB / 3.411 GB, free: 26.34 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007297/10.55, allocations: 426.9 kB / 3.411 GB, free: 26.22 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.623e-05/10.55, allocations: 36.55 kB / 3.411 GB, free: 26.19 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/10.55, allocations: 345.5 kB / 3.411 GB, free: 26 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/10.55, allocations: 180.1 kB / 3.412 GB, free: 25.88 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.298e-05/10.55, allocations: 15.12 kB / 3.412 GB, free: 25.88 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/10.55, allocations: 367.6 kB / 3.412 GB, free: 25.57 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009935/10.55, allocations: 256.5 kB / 3.412 GB, free: 25.56 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/10.56, allocations: 462.3 kB / 3.413 GB, free: 25.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/10.56, allocations: 311.5 kB / 3.413 GB, free: 25.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/10.56, allocations: 0 / 3.413 GB, free: 25.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003893/10.56, allocations: 0.9913 MB / 3.414 GB, free: 25.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009525/10.56, allocations: 2.35 MB / 3.416 GB, free: 22.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/10.56, allocations: 7.281 kB / 3.416 GB, free: 22.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003315/10.56, allocations: 429.8 kB / 3.417 GB, free: 22.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009552/10.57, allocations: 142.1 kB / 3.417 GB, free: 22.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/10.57, allocations: 0.9297 MB / 3.418 GB, free: 22.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/10.57, allocations: 101.1 kB / 3.418 GB, free: 22.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.483e-05/10.57, allocations: 36.95 kB / 3.418 GB, free: 22.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/10.57, allocations: 3.906 kB / 3.418 GB, free: 22.16 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003334/10.57, allocations: 0.8655 MB / 3.419 GB, free: 22.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/10.57, allocations: 11.84 kB / 3.419 GB, free: 22.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002264/10.57, allocations: 320.7 kB / 3.419 GB, free: 22.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009279/10.58, allocations: 155.4 kB / 3.419 GB, free: 22.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/10.58, allocations: 0.8611 MB / 3.42 GB, free: 21.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/10.58, allocations: 84.02 kB / 3.42 GB, free: 21.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/10.58, allocations: 32.8 kB / 3.42 GB, free: 21.55 MB / 474.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 (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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005849/10.58, allocations: 291.2 kB / 3.42 GB, free: 21.36 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/10.58, allocations: 68.27 kB / 3.42 GB, free: 21.32 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005029/10.58, allocations: 2.726 MB / 3.423 GB, free: 20.97 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.37e-05/10.58, allocations: 39.72 kB / 3.423 GB, free: 20.97 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/10.58, allocations: 0 / 3.423 GB, free: 20.97 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/10.58, allocations: 7.328 kB / 3.423 GB, free: 20.97 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006593/10.59, allocations: 3.733 MB / 3.427 GB, free: 19.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/10.59, allocations: 4.656 kB / 3.427 GB, free: 19.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009929/10.59, allocations: 145.6 kB / 3.427 GB, free: 19.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006609/10.59, allocations: 108.1 kB / 3.427 GB, free: 19.04 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.334e-05/10.59, allocations: 12 kB / 3.427 GB, free: 19.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/10.59, allocations: 1.144 MB / 3.428 GB, free: 17.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/10.59, allocations: 0 / 3.428 GB, free: 17.86 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004708/10.6, allocations: 2.268 MB / 3.43 GB, free: 15.79 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000689/10.6, allocations: 347.2 kB / 3.431 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/10.6, allocations: 12 kB / 3.431 GB, free: 15.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008571/10.6, allocations: 75.23 kB / 3.431 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/10.6, allocations: 47.17 kB / 3.431 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.9e-05/10.6, allocations: 23.94 kB / 3.431 GB, free: 15.36 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008623/10.6, allocations: 454.9 kB / 3.431 GB, free: 14.98 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.91e-07/10.6, allocations: 0 / 3.431 GB, free: 14.98 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007055/10.61, allocations: 1.39 MB / 3.433 GB, free: 13.62 MB / 474.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: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.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 (62): * Single equations (assignments): 50 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01644/10.63, allocations: 4.439 MB / 3.437 GB, free: 9.785 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004698/10.63, allocations: 1.402 MB / 3.438 GB, free: 8.602 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/10.63, allocations: 0 / 3.438 GB, free: 8.602 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/10.63, allocations: 0.744 MB / 3.439 GB, free: 7.934 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/10.63, allocations: 283.2 kB / 3.439 GB, free: 7.734 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.674/11.31, allocations: 127.9 MB / 3.564 GB, free: 56.98 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006691/11.31, allocations: 1.154 MB / 3.565 GB, free: 56.26 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001818/11.31, allocations: 0.6262 MB / 3.566 GB, free: 56.23 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007647/11.31, allocations: 453.6 kB / 3.566 GB, free: 56.23 MB / 474.7 MB Notification: Performance of SimCode: time 1.283e-06/11.31, allocations: 0 / 3.566 GB, free: 56.23 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/11.43, allocations: 54.1 MB / 3.619 GB, free: 19.61 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002969/11.43, allocations: 269.8 kB / 3.619 GB, free: 19.25 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.996/16.43, allocations: 0 / 3.619 GB, free: 19.25 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat