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.TestControlledPump.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.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",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.01101/0.01101, allocations: 107.5 kB / 15.06 MB, free: 6.023 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.001231/0.001231, allocations: 180.7 kB / 15.95 MB, free: 5.957 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.951/1.951, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.2615/0.2615, allocations: 40.04 MB / 296.5 MB, free: 6.309 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004699/0.0004703, allocations: 12 kB / 361.2 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1172, allocations: 54.87 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump): time 0.4041/0.5214, allocations: 61.26 MB / 477.3 MB, free: 31.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0397/0.5612, allocations: 23.18 MB / 0.4887 GB, free: 15.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002602/0.5638, allocations: 55.66 kB / 0.4888 GB, free: 15.67 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003758/0.5677, allocations: 0.8396 MB / 0.4896 GB, free: 15.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02104/0.5887, allocations: 5.111 MB / 0.4946 GB, free: 12.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01903/0.6078, allocations: 4.46 MB / 0.499 GB, free: 10.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005386/0.6132, allocations: 2.059 MB / 0.501 GB, free: 9.105 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001984/0.6153, allocations: 0.757 MB / 0.5017 GB, free: 8.828 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003984/0.6193, allocations: 1.155 MB / 0.5028 GB, free: 8.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03378/0.6531, allocations: 11.71 MB / 0.5143 GB, free: 7.043 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005333/0.6537, allocations: 66.69 kB / 0.5143 GB, free: 7.039 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03849/0.6922, allocations: 13.69 MB / 0.5277 GB, free: 11.32 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001004/0.6933, allocations: 306.9 kB / 0.528 GB, free: 11.02 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.6944, allocations: 324.9 kB / 0.5283 GB, free: 10.7 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01318/0.7076, allocations: 4.592 MB / 0.5328 GB, free: 6.102 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7077, allocations: 0 / 0.5328 GB, free: 6.102 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.7077, allocations: 3.938 kB / 0.5328 GB, free: 6.098 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.933e-05/0.7078, allocations: 0 / 0.5328 GB, free: 6.098 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.009377/0.7172, allocations: 2.384 MB / 0.5351 GB, free: 3.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.114e-05/0.7173, allocations: 8.031 kB / 0.5351 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004898/0.7178, allocations: 177.2 kB / 0.5353 GB, free: 3.469 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006649/0.7244, allocations: 0.6031 MB / 0.5359 GB, free: 2.863 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002643/0.7271, allocations: 0.9157 MB / 0.5368 GB, free: 1.902 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.7273, allocations: 94.28 kB / 0.5369 GB, free: 1.809 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00032/0.7277, allocations: 112 kB / 0.537 GB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00828/0.736, allocations: 1.996 MB / 0.5389 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.946e-05/0.7361, allocations: 7.938 kB / 0.5389 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002321/0.7363, allocations: 51.95 kB / 0.539 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-05/0.7364, allocations: 46 kB / 0.539 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00953/0.746, allocations: 1.893 MB / 0.5409 GB, free: 13.55 MB / 410.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.01673/0.7627, allocations: 9.539 MB / 0.5502 GB, free: 3.207 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008545/0.7713, allocations: 1.673 MB / 0.5518 GB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07435/0.8457, allocations: 21.82 MB / 0.5731 GB, free: 9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/0.8459, allocations: 47.56 kB / 0.5732 GB, free: 8.941 MB / 442.7 MB Notification: Performance of pre-optimization done (n=94): time 8.987e-06/0.8459, allocations: 0 / 0.5732 GB, free: 8.941 MB / 442.7 MB Notification: Performance of matching and sorting (n=134): time 0.1141/0.96, allocations: 9.698 MB / 0.5827 GB, free: 15.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.9602, allocations: 175.5 kB / 0.5828 GB, free: 14.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.9619, allocations: 0.8618 MB / 0.5837 GB, free: 13.92 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002201/0.9621, allocations: 45.7 kB / 0.5837 GB, free: 13.87 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005954/0.9627, allocations: 0.6046 MB / 0.5843 GB, free: 13.26 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005829/0.9633, allocations: 461.4 kB / 0.5847 GB, free: 12.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.9635, allocations: 28 kB / 0.5848 GB, free: 12.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.9637, allocations: 361.9 kB / 0.5851 GB, free: 12.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003864/0.9676, allocations: 0.8705 MB / 0.586 GB, free: 11.54 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004191/0.9718, allocations: 1.293 MB / 0.5872 GB, free: 10.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004269/0.9761, allocations: 0.9901 MB / 0.5882 GB, free: 9.086 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.9761, allocations: 4 kB / 0.5882 GB, free: 9.082 MB / 458.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01134/0.9874, allocations: 2.732 MB / 0.5909 GB, free: 6.328 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001888/0.9894, allocations: 4.616 MB / 0.5954 GB, free: 1.352 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.081e-05/0.9894, allocations: 15.95 kB / 0.5954 GB, free: 1.336 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01263/1.002, allocations: 1.551 MB / 0.5969 GB, free: 15.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003577/1.006, allocations: 415.5 kB / 0.5973 GB, free: 15.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009433/1.015, allocations: 3.392 MB / 0.6006 GB, free: 11.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003291/1.019, allocations: 219.7 kB / 0.6008 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000326/1.019, allocations: 99.94 kB / 0.6009 GB, free: 11.56 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/1.019, allocations: 0 / 0.6009 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01078/1.03, allocations: 2.43 MB / 0.6033 GB, free: 9.121 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/1.03, allocations: 8 kB / 0.6033 GB, free: 9.113 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004904/1.035, allocations: 0.7123 MB / 0.604 GB, free: 8.398 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005639/1.04, allocations: 0.5383 MB / 0.6045 GB, free: 7.859 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005914/1.046, allocations: 1.831 MB / 0.6063 GB, free: 5.977 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003168/1.05, allocations: 215.7 kB / 0.6065 GB, free: 5.766 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003242/1.05, allocations: 95.94 kB / 0.6066 GB, free: 5.672 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.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 (148): * Single equations (assignments): 144 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,3 11,1 7,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.001126/1.051, allocations: 411.8 kB / 0.607 GB, free: 5.262 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004261/1.051, allocations: 134.4 kB / 0.6071 GB, free: 5.129 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01931/1.071, allocations: 7.45 MB / 0.6144 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001161/1.071, allocations: 79.88 kB / 0.6145 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/1.071, allocations: 0 / 0.6145 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.455e-05/1.071, allocations: 7.969 kB / 0.6145 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02504/1.096, allocations: 10.1 MB / 0.6243 GB, free: 3.363 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/1.096, allocations: 0 / 0.6243 GB, free: 3.363 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002734/1.099, allocations: 315.7 kB / 0.6246 GB, free: 3.055 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01239/1.111, allocations: 2.495 MB / 0.6271 GB, free: 0.543 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003439/1.112, allocations: 39.97 kB / 0.6271 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3223/1.434, allocations: 4.541 MB / 0.6315 GB, free: 157.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.434, allocations: 6.656 kB / 0.6316 GB, free: 157.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/1.447, allocations: 5.087 MB / 0.6365 GB, free: 157.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.449, allocations: 0.5507 MB / 0.6371 GB, free: 157.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000372/1.449, allocations: 33.53 kB / 0.6371 GB, free: 157.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002692/1.452, allocations: 222.1 kB / 0.6373 GB, free: 157.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004781/1.452, allocations: 137.2 kB / 0.6374 GB, free: 157.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001976/1.452, allocations: 55.06 kB / 0.6375 GB, free: 157 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001214/1.454, allocations: 0.6542 MB / 0.6381 GB, free: 156.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.1e-07/1.454, allocations: 5.031 kB / 0.6381 GB, free: 156.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007107/1.461, allocations: 1.856 MB / 0.6399 GB, free: 156.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 46 ($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,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.region3boundary,$cse21.region3boundary,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 7,3 16,1 7,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0218/1.483, allocations: 6.969 MB / 0.6467 GB, free: 153.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01866/1.501, allocations: 4.43 MB / 0.6511 GB, free: 152.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.501, allocations: 1.422 kB / 0.6511 GB, free: 152.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007762/1.509, allocations: 2.329 MB / 0.6534 GB, free: 151.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005292/1.515, allocations: 0.5517 MB / 0.6539 GB, free: 151.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01898/1.534, allocations: 15.36 MB / 0.6689 GB, free: 139.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/1.535, allocations: 1.648 MB / 0.6705 GB, free: 138.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004734/1.54, allocations: 1.539 MB / 0.672 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/1.542, allocations: 0.8382 MB / 0.6728 GB, free: 137.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.383e-06/1.542, allocations: 0 / 0.6728 GB, free: 137.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2016/1.743, allocations: 95.16 MB / 0.7658 GB, free: 56.43 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00027/1.744, allocations: 267.7 kB / 0.766 GB, free: 56.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.174/9.918, allocations: 0 / 0.766 GB, free: 56.07 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat