Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01077/0.01077, allocations: 104 kB / 15.05 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001108/0.001108, allocations: 174 kB / 15.93 MB, free: 5.91 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.58/1.58, allocations: 170.9 MB / 187.5 MB, free: 0.8516 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2475/0.2475, allocations: 38.1 MB / 265.1 MB, free: 3.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004544/0.0004546, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08887/0.08935, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics): time 0.3798/0.4693, allocations: 61.12 MB / 433.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03446/0.5038, allocations: 20.01 MB / 453.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002191/0.506, allocations: 58.75 kB / 453.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003326/0.5094, allocations: 0.8051 MB / 454.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02128/0.5307, allocations: 5.155 MB / 459.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0127/0.5435, allocations: 3.107 MB / 462.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004957/0.5484, allocations: 2.179 MB / 464.7 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.5502, allocations: 0.7922 MB / 465.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003846/0.554, allocations: 1.214 MB / 466.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03277/0.5869, allocations: 12.91 MB / 479.6 MB, free: 7.457 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004802/0.5874, allocations: 74.73 kB / 479.7 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02205/0.6094, allocations: 8.072 MB / 487.8 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006525/0.6101, allocations: 324.6 kB / 488.1 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007857/0.6109, allocations: 350.5 kB / 488.4 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0127/0.6237, allocations: 4.58 MB / 493 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6237, allocations: 0 / 493 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.6237, allocations: 0 / 493 MB, free: 12.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.27e-05/0.6238, allocations: 0 / 493 MB, free: 12.59 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.008386/0.6322, allocations: 2.234 MB / 495.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.6323, allocations: 8.031 kB / 495.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005402/0.6328, allocations: 192 kB / 495.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004786/0.6376, allocations: 461.7 kB / 495.9 MB, free: 9.836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/0.6402, allocations: 0.8943 MB / 496.8 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.6404, allocations: 102.5 kB / 496.9 MB, free: 8.828 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002875/0.6407, allocations: 122.9 kB / 497 MB, free: 8.711 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0076/0.6483, allocations: 1.979 MB / 499 MB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.687e-05/0.6484, allocations: 0 / 499 MB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002369/0.6487, allocations: 59.98 kB / 499.1 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.6488, allocations: 60.3 kB / 499.1 MB, free: 6.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008287/0.6571, allocations: 1.769 MB / 0.4891 GB, free: 4.711 MB / 346.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.01594/0.6731, allocations: 9.431 MB / 0.4984 GB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005881/0.679, allocations: 1.189 MB / 0.4995 GB, free: 9.355 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01383/0.6929, allocations: 5.446 MB / 0.5048 GB, free: 3.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.977e-05/0.693, allocations: 47.56 kB / 0.5049 GB, free: 3.105 MB / 362.7 MB Notification: Performance of pre-optimization done (n=91): time 3.597e-06/0.693, allocations: 0 / 0.5049 GB, free: 3.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=134): time 0.06282/0.7558, allocations: 8.489 MB / 0.5132 GB, free: 10.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.756, allocations: 124.1 kB / 0.5133 GB, free: 10.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.7576, allocations: 0.8036 MB / 0.5141 GB, free: 9.387 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002047/0.7578, allocations: 49.7 kB / 0.5141 GB, free: 9.332 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006891/0.7585, allocations: 0.6515 MB / 0.5148 GB, free: 8.676 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005775/0.7591, allocations: 456.6 kB / 0.5152 GB, free: 8.234 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.7593, allocations: 28 kB / 0.5152 GB, free: 8.207 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.7595, allocations: 369.9 kB / 0.5156 GB, free: 7.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002889/0.7624, allocations: 0.6793 MB / 0.5162 GB, free: 7.164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003271/0.7657, allocations: 1.112 MB / 0.5173 GB, free: 5.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003087/0.7688, allocations: 0.7924 MB / 0.5181 GB, free: 5.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.7688, allocations: 4 kB / 0.5181 GB, free: 5.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.01301/0.7818, allocations: 2.727 MB / 0.5208 GB, free: 2.324 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002366/0.7842, allocations: 5.055 MB / 0.5257 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.554e-05/0.7843, allocations: 12 kB / 0.5257 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01607/0.8004, allocations: 1.688 MB / 0.5274 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/0.802, allocations: 255.6 kB / 0.5276 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/0.8146, allocations: 5.822 MB / 0.5333 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/0.8175, allocations: 179.8 kB / 0.5335 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/0.8178, allocations: 87.92 kB / 0.5335 GB, free: 4.625 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.8178, allocations: 7.938 kB / 0.5336 GB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01098/0.8288, allocations: 2.442 MB / 0.5359 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.8289, allocations: 12 kB / 0.5359 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01351/0.8424, allocations: 1.462 MB / 0.5374 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.8441, allocations: 271.6 kB / 0.5376 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.8549, allocations: 5.644 MB / 0.5431 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002715/0.8576, allocations: 171.8 kB / 0.5433 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/0.8579, allocations: 83.98 kB / 0.5434 GB, free: 10.31 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 10 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,pumpLinear.monitoring.state_in.phase,pumpQuadraticLinear.monitoring.state_in.phase,pumpPolynomial.monitoring.state_in.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 (131): * Single equations (assignments): 123 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {2 6,2 8,2 6,2 8,2 6,2 8,2 6,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.001097/0.859, allocations: 448.4 kB / 0.5438 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003271/0.8593, allocations: 126.5 kB / 0.5439 GB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01886/0.8782, allocations: 5.549 MB / 0.5494 GB, free: 4.121 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.153e-05/0.8783, allocations: 43.89 kB / 0.5494 GB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.8783, allocations: 0 / 0.5494 GB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/0.8783, allocations: 11.92 kB / 0.5494 GB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02048/0.8988, allocations: 7.945 MB / 0.5572 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.8989, allocations: 0 / 0.5572 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000996/0.8999, allocations: 148 kB / 0.5573 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01446/0.9144, allocations: 2.283 MB / 0.5595 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/0.9146, allocations: 35.98 kB / 0.5596 GB, free: 9.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01244/0.927, allocations: 6.823 MB / 0.5662 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.9271, allocations: 0 / 0.5662 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/0.939, allocations: 3.948 MB / 0.5701 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.9401, allocations: 438.1 kB / 0.5705 GB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000284/0.9404, allocations: 28 kB / 0.5705 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002492/0.9429, allocations: 211.5 kB / 0.5707 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004381/0.9433, allocations: 121.1 kB / 0.5709 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/0.9435, allocations: 51.98 kB / 0.5709 GB, free: 13.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001256/0.9448, allocations: 0.6093 MB / 0.5715 GB, free: 12.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.9448, allocations: 0 / 0.5715 GB, free: 12.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006871/0.9517, allocations: 1.866 MB / 0.5733 GB, free: 11.05 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 62 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {2 6,2 10,2 6,2 6,2 6,2 10,2 10,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01903/0.9708, allocations: 5.78 MB / 0.579 GB, free: 5.297 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01712/0.9879, allocations: 3.551 MB / 0.5824 GB, free: 1.738 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.988, allocations: 3.938 kB / 0.5824 GB, free: 1.734 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007091/0.9951, allocations: 1.654 MB / 0.5841 GB, free: 92 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2856/1.281, allocations: 0.5197 MB / 0.5846 GB, free: 163.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03935/1.32, allocations: 19.92 MB / 0.604 GB, free: 150.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/1.321, allocations: 1.447 MB / 0.6054 GB, free: 149.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002996/1.324, allocations: 0.9181 MB / 0.6063 GB, free: 149.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/1.325, allocations: 0.665 MB / 0.607 GB, free: 149.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.082e-06/1.326, allocations: 0 / 0.607 GB, free: 149.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2435/1.569, allocations: 89.65 MB / 0.6945 GB, free: 68.11 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/1.569, allocations: 286.7 kB / 0.6948 GB, free: 67.75 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/9.488, allocations: 7.969 kB / 0.6948 GB, free: 67.75 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat does not exist to compare? outputFormat=mat