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.TestControlledPump.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.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.02698/0.02699, allocations: 103.3 kB / 15.05 MB, free: 6.031 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.001075/0.001075, allocations: 175.5 kB / 15.94 MB, free: 5.965 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.584/1.584, allocations: 170.9 MB / 187.5 MB, free: 1.004 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.2496/0.2496, allocations: 38.09 MB / 265.1 MB, free: 3.98 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.0004592, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.09044, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump): time 0.3796/0.47, allocations: 60.77 MB / 433.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05471/0.5248, allocations: 22.99 MB / 456.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002611/0.5275, allocations: 53.94 kB / 456.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004704/0.5322, allocations: 0.8314 MB / 456.9 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02618/0.5585, allocations: 5.046 MB / 462 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01829/0.5768, allocations: 4.415 MB / 466.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004634/0.5815, allocations: 2.036 MB / 468.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/0.5831, allocations: 0.7554 MB / 469.2 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003633/0.5868, allocations: 1.156 MB / 470.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02983/0.6167, allocations: 11.57 MB / 481.9 MB, free: 6.668 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004622/0.6172, allocations: 64 kB / 482 MB, free: 6.605 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03901/0.6562, allocations: 13.48 MB / 495.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008665/0.6572, allocations: 295.1 kB / 495.8 MB, free: 9.941 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009642/0.6582, allocations: 325 kB / 496.1 MB, free: 9.617 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.6711, allocations: 4.523 MB / 0.4889 GB, free: 5.375 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6712, allocations: 0 / 0.4889 GB, free: 5.375 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.6712, allocations: 7.938 kB / 0.4889 GB, free: 5.367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.542e-05/0.6713, allocations: 0 / 0.4889 GB, free: 5.367 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.008938/0.6802, allocations: 2.34 MB / 0.4912 GB, free: 2.988 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.6803, allocations: 8.031 kB / 0.4912 GB, free: 2.98 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005086/0.6808, allocations: 176.6 kB / 0.4913 GB, free: 2.801 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006631/0.6875, allocations: 0.5799 MB / 0.4919 GB, free: 2.223 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002551/0.6901, allocations: 0.9145 MB / 0.4928 GB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.6903, allocations: 98.28 kB / 0.4929 GB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002618/0.6905, allocations: 108 kB / 0.493 GB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008077/0.6986, allocations: 2.009 MB / 0.4949 GB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.659e-05/0.6987, allocations: 3.938 kB / 0.495 GB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002332/0.699, allocations: 54.06 kB / 0.495 GB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.16e-05/0.6991, allocations: 42.02 kB / 0.495 GB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009302/0.7084, allocations: 1.893 MB / 0.4969 GB, free: 12.95 MB / 362.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.01729/0.7257, allocations: 9.529 MB / 0.5062 GB, free: 2.668 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008689/0.7345, allocations: 1.672 MB / 0.5078 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07175/0.8063, allocations: 21.74 MB / 0.5291 GB, free: 8.566 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.382e-05/0.8064, allocations: 51.45 kB / 0.5291 GB, free: 8.508 MB / 394.7 MB Notification: Performance of pre-optimization done (n=94): time 4.258e-06/0.8064, allocations: 0 / 0.5291 GB, free: 8.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=134): time 0.08613/0.8925, allocations: 9.719 MB / 0.5386 GB, free: 14.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.8927, allocations: 175.5 kB / 0.5388 GB, free: 14.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.8944, allocations: 0.8583 MB / 0.5396 GB, free: 13.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002974/0.8947, allocations: 45.7 kB / 0.5397 GB, free: 13.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006112/0.8953, allocations: 0.6077 MB / 0.5402 GB, free: 12.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006306/0.896, allocations: 455.5 kB / 0.5407 GB, free: 12.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.8962, allocations: 28 kB / 0.5407 GB, free: 12.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.8964, allocations: 363.2 kB / 0.5411 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003904/0.9003, allocations: 0.8744 MB / 0.5419 GB, free: 11.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004283/0.9046, allocations: 1.285 MB / 0.5432 GB, free: 9.688 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004323/0.9089, allocations: 0.9901 MB / 0.5441 GB, free: 8.703 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.909, allocations: 4 kB / 0.5441 GB, free: 8.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01165/0.9207, allocations: 2.735 MB / 0.5468 GB, free: 5.949 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00181/0.9225, allocations: 4.621 MB / 0.5513 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.293e-05/0.9226, allocations: 12 kB / 0.5513 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01275/0.9353, allocations: 1.526 MB / 0.5528 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003543/0.9389, allocations: 423.4 kB / 0.5532 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009415/0.9484, allocations: 3.405 MB / 0.5565 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003349/0.9518, allocations: 215.7 kB / 0.5568 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003926/0.9522, allocations: 95.95 kB / 0.5568 GB, free: 11.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.9523, allocations: 4 kB / 0.5568 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01076/0.963, allocations: 2.426 MB / 0.5592 GB, free: 8.762 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/0.9631, allocations: 12 kB / 0.5592 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004872/0.968, allocations: 0.7078 MB / 0.5599 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005632/0.9737, allocations: 0.5343 MB / 0.5604 GB, free: 7.504 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005834/0.9796, allocations: 1.842 MB / 0.5622 GB, free: 5.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003206/0.9828, allocations: 219.7 kB / 0.5624 GB, free: 5.398 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004261/0.9833, allocations: 91.95 kB / 0.5625 GB, free: 5.309 MB / 426.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.001198/0.9845, allocations: 425.4 kB / 0.5629 GB, free: 4.883 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004755/0.985, allocations: 134.4 kB / 0.5631 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01959/1.005, allocations: 7.44 MB / 0.5703 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001304/1.005, allocations: 87.86 kB / 0.5704 GB, free: 13.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/1.005, allocations: 8 kB / 0.5704 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.194e-05/1.005, allocations: 7.969 kB / 0.5704 GB, free: 13.17 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02582/1.031, allocations: 10.08 MB / 0.5803 GB, free: 3.031 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.59e-05/1.031, allocations: 4 kB / 0.5803 GB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002751/1.034, allocations: 311.7 kB / 0.5806 GB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01254/1.046, allocations: 2.509 MB / 0.583 GB, free: 212 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003219/1.046, allocations: 39.97 kB / 0.5831 GB, free: 172 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/1.057, allocations: 4.546 MB / 0.5875 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.641e-05/1.057, allocations: 8.062 kB / 0.5875 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01454/1.071, allocations: 5.082 MB / 0.5925 GB, free: 6.379 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/1.073, allocations: 0.5554 MB / 0.593 GB, free: 5.801 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003585/1.073, allocations: 28 kB / 0.593 GB, free: 5.773 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002816/1.076, allocations: 231.6 kB / 0.5933 GB, free: 5.547 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005332/1.077, allocations: 133 kB / 0.5934 GB, free: 5.414 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/1.077, allocations: 55.97 kB / 0.5934 GB, free: 5.359 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001405/1.078, allocations: 0.6582 MB / 0.5941 GB, free: 4.695 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.1e-07/1.078, allocations: 7.938 kB / 0.5941 GB, free: 4.688 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007394/1.086, allocations: 1.843 MB / 0.5959 GB, free: 2.844 MB / 458.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.315/1.401, allocations: 6.942 MB / 0.6027 GB, free: 177.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01995/1.421, allocations: 4.422 MB / 0.607 GB, free: 176.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.421, allocations: 1.344 kB / 0.607 GB, free: 176.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007808/1.429, allocations: 2.33 MB / 0.6093 GB, free: 175.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005051/1.434, allocations: 0.5668 MB / 0.6098 GB, free: 175.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/1.451, allocations: 15.36 MB / 0.6248 GB, free: 163.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/1.452, allocations: 1.642 MB / 0.6264 GB, free: 162.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004239/1.456, allocations: 1.539 MB / 0.6279 GB, free: 162.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001591/1.458, allocations: 0.8423 MB / 0.6288 GB, free: 162 MB / 458.7 MB Notification: Performance of SimCode: time 1.222e-06/1.458, allocations: 2.969 kB / 0.6288 GB, free: 162 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1925/1.651, allocations: 94.81 MB / 0.7214 GB, free: 70.53 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002733/1.651, allocations: 283.7 kB / 0.7216 GB, free: 70.16 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/9.727, allocations: 3.5 kB / 0.7216 GB, free: 70.16 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat