Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01121/0.01121, allocations: 108.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001285/0.001284, allocations: 181.4 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.969/1.969, allocations: 194.6 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2631/0.2631, allocations: 40.04 MB / 296.5 MB, free: 6.238 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006413/0.0006414, allocations: 12 kB / 361.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1138, allocations: 54.88 MB / 416 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV): time 0.358/0.4718, allocations: 34.83 MB / 450.9 MB, free: 32.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02277/0.4947, allocations: 13.95 MB / 464.8 MB, free: 32.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.4958, allocations: 23.22 kB / 464.8 MB, free: 32.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.4975, allocations: 377.2 kB / 465.2 MB, free: 32.37 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01608/0.5136, allocations: 3.865 MB / 469.1 MB, free: 32.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007448/0.5211, allocations: 1.849 MB / 470.9 MB, free: 32.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002076/0.5232, allocations: 0.9365 MB / 471.9 MB, free: 32.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008138/0.524, allocations: 346.4 kB / 472.2 MB, free: 32.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/0.5259, allocations: 0.6082 MB / 472.8 MB, free: 31.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009141/0.5351, allocations: 3.545 MB / 476.4 MB, free: 31.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002057/0.5354, allocations: 32.56 kB / 476.4 MB, free: 31.83 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01928/0.5547, allocations: 7.373 MB / 483.8 MB, free: 31.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000328/0.555, allocations: 143.5 kB / 483.9 MB, free: 31.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003925/0.5555, allocations: 167.9 kB / 484.1 MB, free: 31.67 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01031/0.5658, allocations: 3.438 MB / 487.5 MB, free: 31.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5658, allocations: 0 / 487.5 MB, free: 31.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.5659, allocations: 0 / 487.5 MB, free: 31.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.5659, allocations: 0 / 487.5 MB, free: 31.49 MB / 378.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.007568/0.5735, allocations: 1.456 MB / 489 MB, free: 30.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.5735, allocations: 9.219 kB / 489 MB, free: 30.66 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002367/0.5738, allocations: 99.38 kB / 489.1 MB, free: 30.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003188/0.577, allocations: 307 kB / 489.4 MB, free: 30.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.5782, allocations: 0.4944 MB / 489.9 MB, free: 30.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/0.5783, allocations: 46.06 kB / 489.9 MB, free: 30.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.5784, allocations: 58.38 kB / 490 MB, free: 30.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00373/0.5822, allocations: 0.9518 MB / 490.9 MB, free: 29.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.5823, allocations: 3.609 kB / 490.9 MB, free: 29.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.5824, allocations: 30.38 kB / 490.9 MB, free: 29.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.781e-05/0.5824, allocations: 21.14 kB / 491 MB, free: 29.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003979/0.5864, allocations: 0.8776 MB / 491.8 MB, free: 29.56 MB / 378.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.007161/0.5936, allocations: 4.658 MB / 496.5 MB, free: 25.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003882/0.5975, allocations: 0.7639 MB / 497.3 MB, free: 25.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07079/0.6683, allocations: 21.66 MB / 0.5068 GB, free: 25.13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/0.6684, allocations: 37.47 kB / 0.5068 GB, free: 25.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 3.056e-06/0.6685, allocations: 0 / 0.5068 GB, free: 25.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=58): time 0.01699/0.6855, allocations: 3.057 MB / 0.5098 GB, free: 23.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/0.6856, allocations: 113.9 kB / 0.5099 GB, free: 23.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006457/0.6862, allocations: 428.7 kB / 0.5103 GB, free: 23.06 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.098e-05/0.6864, allocations: 36.14 kB / 0.5103 GB, free: 23.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.6866, allocations: 333.4 kB / 0.5107 GB, free: 22.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.6868, allocations: 200 kB / 0.5108 GB, free: 22.56 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.6869, allocations: 12 kB / 0.5109 GB, free: 22.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.687, allocations: 365.1 kB / 0.5112 GB, free: 22.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.6883, allocations: 322.6 kB / 0.5115 GB, free: 22.05 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.6897, allocations: 0.5255 MB / 0.512 GB, free: 21.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.691, allocations: 368.9 kB / 0.5124 GB, free: 21.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.6911, allocations: 3.312 kB / 0.5124 GB, free: 21.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.005383/0.6964, allocations: 1.188 MB / 0.5135 GB, free: 20.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008075/0.6973, allocations: 2.359 MB / 0.5158 GB, free: 18.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.6973, allocations: 8 kB / 0.5158 GB, free: 18.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005107/0.7024, allocations: 0.5441 MB / 0.5164 GB, free: 17.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009308/0.7034, allocations: 151.8 kB / 0.5165 GB, free: 17.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003142/0.7066, allocations: 1.557 MB / 0.518 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.7078, allocations: 87.84 kB / 0.5181 GB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.7079, allocations: 31.98 kB / 0.5182 GB, free: 15.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.708, allocations: 4 kB / 0.5182 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003886/0.7119, allocations: 1.033 MB / 0.5192 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.7119, allocations: 10.41 kB / 0.5192 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004412/0.7164, allocations: 0.495 MB / 0.5197 GB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009518/0.7173, allocations: 151.8 kB / 0.5198 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003174/0.7205, allocations: 1.534 MB / 0.5213 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.7218, allocations: 83.98 kB / 0.5214 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.722, allocations: 32 kB / 0.5214 GB, free: 12.41 MB / 394.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.0005851/0.7226, allocations: 292.9 kB / 0.5217 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.7227, allocations: 67.19 kB / 0.5218 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00677/0.7295, allocations: 3.452 MB / 0.5251 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.113e-05/0.7296, allocations: 39.94 kB / 0.5252 GB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.7296, allocations: 0 / 0.5252 GB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.7297, allocations: 3.984 kB / 0.5252 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/0.74, allocations: 4.692 MB / 0.5298 GB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.7401, allocations: 0 / 0.5298 GB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007622/0.7409, allocations: 106.1 kB / 0.5299 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004909/0.7458, allocations: 0.9617 MB / 0.5308 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/0.746, allocations: 19.98 kB / 0.5308 GB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003722/0.7497, allocations: 1.992 MB / 0.5328 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.7498, allocations: 4.078 kB / 0.5328 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005992/0.7558, allocations: 2.267 MB / 0.535 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007892/0.7566, allocations: 326.8 kB / 0.5353 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.7568, allocations: 12 kB / 0.5353 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.7578, allocations: 83.94 kB / 0.5354 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/0.7581, allocations: 56.55 kB / 0.5354 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.172e-05/0.7582, allocations: 20 kB / 0.5355 GB, free: 13.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007087/0.7589, allocations: 395.1 kB / 0.5358 GB, free: 13.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7589, allocations: 3.938 kB / 0.5358 GB, free: 13.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007109/0.766, allocations: 1.3 MB / 0.5371 GB, free: 12.12 MB / 410.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,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$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 (47): * Single equations (assignments): 35 * 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.01906/0.7852, allocations: 4.104 MB / 0.5411 GB, free: 8.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007892/0.7931, allocations: 1.811 MB / 0.5429 GB, free: 6.266 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.7932, allocations: 0 / 0.5429 GB, free: 6.266 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002997/0.7962, allocations: 1 MB / 0.5439 GB, free: 5.266 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/0.799, allocations: 274.2 kB / 0.5441 GB, free: 4.996 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02307/0.8221, allocations: 10.25 MB / 0.5541 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009171/0.8231, allocations: 1.158 MB / 0.5553 GB, free: 9.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002124/0.8252, allocations: 0.7241 MB / 0.556 GB, free: 8.711 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007697/0.826, allocations: 399.3 kB / 0.5563 GB, free: 8.32 MB / 426.7 MB Notification: Performance of SimCode: time 3.647e-06/0.826, allocations: 0 / 0.5563 GB, free: 8.32 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1632/0.9893, allocations: 60.25 MB / 0.6152 GB, free: 12.12 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004213/0.9897, allocations: 284 kB / 0.6155 GB, free: 11.75 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.342/7.332, allocations: 0 / 0.6155 GB, free: 11.75 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