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.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",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.01517/0.01518, allocations: 107.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.001868/0.001868, allocations: 181.8 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.93/1.93, allocations: 194.6 MB / 211.3 MB, free: 11.23 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.2737/0.2737, allocations: 40.04 MB / 296.5 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.0004691, allocations: 11.98 kB / 361.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1122, allocations: 54.89 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed): time 0.3635/0.4758, allocations: 35.23 MB / 451.3 MB, free: 32.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02904/0.5049, allocations: 17.32 MB / 468.6 MB, free: 32.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.5061, allocations: 26.03 kB / 468.6 MB, free: 32.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.5078, allocations: 429.2 kB / 469 MB, free: 32.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01658/0.5244, allocations: 4.089 MB / 473.1 MB, free: 31.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01195/0.5364, allocations: 2.916 MB / 476 MB, free: 31.78 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002232/0.5386, allocations: 1.005 MB / 477 MB, free: 31.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007121/0.5394, allocations: 372.4 kB / 477.4 MB, free: 31.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.5411, allocations: 0.6369 MB / 478 MB, free: 31.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01555/0.5567, allocations: 6.311 MB / 484.3 MB, free: 31.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002182/0.557, allocations: 29.22 kB / 484.4 MB, free: 31.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02165/0.5786, allocations: 7.552 MB / 491.9 MB, free: 29.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004203/0.5791, allocations: 145.5 kB / 492.1 MB, free: 29.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004234/0.5796, allocations: 172.3 kB / 492.2 MB, free: 29.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.5904, allocations: 3.551 MB / 495.8 MB, free: 28.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5905, allocations: 3.938 kB / 495.8 MB, free: 28.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5905, allocations: 0 / 495.8 MB, free: 28.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.988e-05/0.5905, allocations: 0 / 495.8 MB, free: 28.85 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00769/0.5982, allocations: 1.562 MB / 497.4 MB, free: 27.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.5983, allocations: 9.75 kB / 497.4 MB, free: 27.9 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002192/0.5985, allocations: 101.8 kB / 497.5 MB, free: 27.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003323/0.6018, allocations: 317.4 kB / 497.8 MB, free: 27.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.6031, allocations: 0.52 MB / 498.3 MB, free: 27.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-05/0.6032, allocations: 46.47 kB / 498.3 MB, free: 27.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.6034, allocations: 56.2 kB / 498.4 MB, free: 27.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003865/0.6072, allocations: 1.008 MB / 499.4 MB, free: 26.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.6073, allocations: 5.156 kB / 499.4 MB, free: 26.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.6074, allocations: 27.16 kB / 499.4 MB, free: 26.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.832e-05/0.6075, allocations: 21.03 kB / 499.5 MB, free: 26.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004481/0.612, allocations: 0.9418 MB / 0.4887 GB, free: 26.7 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.00738/0.6194, allocations: 4.666 MB / 0.4932 GB, free: 22.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004/0.6234, allocations: 0.8062 MB / 0.494 GB, free: 22.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05999/0.6835, allocations: 18.61 MB / 0.5122 GB, free: 23.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/0.6836, allocations: 38.94 kB / 0.5122 GB, free: 23.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=45): time 3.256e-06/0.6836, allocations: 0 / 0.5122 GB, free: 23.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.05164/0.7352, allocations: 4.576 MB / 0.5167 GB, free: 18.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.414e-05/0.7354, allocations: 111.4 kB / 0.5168 GB, free: 18.49 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008345/0.7362, allocations: 478.7 kB / 0.5173 GB, free: 18.01 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002036/0.7365, allocations: 41.7 kB / 0.5173 GB, free: 17.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/0.7367, allocations: 346.7 kB / 0.5176 GB, free: 17.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.737, allocations: 223.1 kB / 0.5178 GB, free: 17.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.052e-05/0.7371, allocations: 16 kB / 0.5179 GB, free: 17.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.7373, allocations: 366.8 kB / 0.5182 GB, free: 17.03 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/0.7391, allocations: 425.7 kB / 0.5186 GB, free: 16.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/0.741, allocations: 0.6423 MB / 0.5192 GB, free: 15.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.7431, allocations: 478 kB / 0.5197 GB, free: 15.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.7431, allocations: 4 kB / 0.5197 GB, free: 15.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005439/0.7486, allocations: 1.354 MB / 0.521 GB, free: 14.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001005/0.7496, allocations: 2.618 MB / 0.5236 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.417e-05/0.7497, allocations: 8 kB / 0.5236 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009821/0.7595, allocations: 1.056 MB / 0.5246 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.7609, allocations: 191.7 kB / 0.5248 GB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004466/0.7654, allocations: 1.752 MB / 0.5265 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.7672, allocations: 111.9 kB / 0.5266 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/0.7675, allocations: 47.97 kB / 0.5267 GB, free: 8.004 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.7675, allocations: 4 kB / 0.5267 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006128/0.7736, allocations: 1.295 MB / 0.5279 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.7737, allocations: 4 kB / 0.5279 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005931/0.7796, allocations: 0.7087 MB / 0.5286 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.781, allocations: 195.6 kB / 0.5288 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004542/0.7856, allocations: 1.718 MB / 0.5305 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.7873, allocations: 119.8 kB / 0.5306 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.7875, allocations: 43.98 kB / 0.5306 GB, free: 3.859 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (71): * Single equations (assignments): 69 * 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.0006777/0.7882, allocations: 308.8 kB / 0.5309 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/0.7884, allocations: 63.25 kB / 0.531 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/0.7989, allocations: 3.678 MB / 0.5346 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.245e-05/0.799, allocations: 31.95 kB / 0.5346 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.799, allocations: 0 / 0.5346 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.362e-05/0.799, allocations: 3.984 kB / 0.5346 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/0.8119, allocations: 4.948 MB / 0.5395 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.812, allocations: 5.062 kB / 0.5395 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.8131, allocations: 135.9 kB / 0.5396 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009223/0.8223, allocations: 1.709 MB / 0.5413 GB, free: 8.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001867/0.8225, allocations: 23.98 kB / 0.5413 GB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005581/0.8281, allocations: 2.412 MB / 0.5436 GB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.8282, allocations: 0 / 0.5436 GB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007381/0.8356, allocations: 2.497 MB / 0.5461 GB, free: 3.898 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008504/0.8365, allocations: 338.8 kB / 0.5464 GB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/0.8367, allocations: 12 kB / 0.5464 GB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/0.8381, allocations: 111.8 kB / 0.5465 GB, free: 3.426 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/0.8384, allocations: 64.55 kB / 0.5466 GB, free: 3.363 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.8385, allocations: 31.94 kB / 0.5466 GB, free: 3.332 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008089/0.8394, allocations: 411 kB / 0.547 GB, free: 2.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8394, allocations: 0 / 0.547 GB, free: 2.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007963/0.8474, allocations: 1.437 MB / 0.5484 GB, free: 1.492 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.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 (49): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01919/0.8666, allocations: 4.343 MB / 0.5526 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009451/0.8761, allocations: 2.088 MB / 0.5547 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.8761, allocations: 4 kB / 0.5547 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003929/0.8801, allocations: 1.047 MB / 0.5557 GB, free: 10.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002768/0.8829, allocations: 283.1 kB / 0.556 GB, free: 9.832 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/0.8975, allocations: 8.404 MB / 0.5642 GB, free: 1.297 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009967/0.8986, allocations: 1.142 MB / 0.5653 GB, free: 124 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002196/0.9008, allocations: 0.6356 MB / 0.5659 GB, free: 15.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008124/0.9016, allocations: 407.2 kB / 0.5663 GB, free: 15.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.303e-06/0.9016, allocations: 0 / 0.5663 GB, free: 15.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5286/1.43, allocations: 67.57 MB / 0.6323 GB, free: 161.3 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/1.431, allocations: 272.8 kB / 0.6326 GB, free: 160.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.565/7.996, allocations: 2.438 kB / 0.6326 GB, free: 160.9 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat