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.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01109/0.01109, allocations: 104.4 kB / 15.05 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.1.mo): time 0.001203/0.001203, allocations: 168 kB / 15.93 MB, free: 5.527 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.602/1.602, allocations: 170.9 MB / 187.6 MB, free: 0.9922 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.3124/0.3124, allocations: 38.09 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004575/0.0004576, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08951/0.09001, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV): time 0.05785/0.1479, allocations: 34.58 MB / 406.9 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02753/0.1755, allocations: 13.8 MB / 420.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009599/0.1765, allocations: 23.81 kB / 420.7 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.178, allocations: 382.2 kB / 421.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01575/0.1938, allocations: 3.833 MB / 424.9 MB, free: 8.105 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007565/0.2014, allocations: 1.808 MB / 426.7 MB, free: 6.293 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002312/0.2037, allocations: 0.9304 MB / 427.6 MB, free: 5.359 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008368/0.2046, allocations: 353.2 kB / 428 MB, free: 4.996 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.2066, allocations: 0.6035 MB / 428.6 MB, free: 4.391 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01004/0.2166, allocations: 3.493 MB / 432.1 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001947/0.2169, allocations: 28 kB / 432.1 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3443/0.5612, allocations: 7.251 MB / 439.4 MB, free: 17.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003328/0.5616, allocations: 135.5 kB / 439.5 MB, free: 17.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.562, allocations: 171.6 kB / 439.7 MB, free: 17.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009867/0.5718, allocations: 3.382 MB / 443.1 MB, free: 17.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5719, allocations: 0 / 443.1 MB, free: 17.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5719, allocations: 0 / 443.1 MB, free: 17.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.5719, allocations: 0 / 443.1 MB, free: 17.59 MB / 330.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.006421/0.5784, allocations: 1.436 MB / 444.5 MB, free: 16.78 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.5784, allocations: 14.59 kB / 444.5 MB, free: 16.78 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002078/0.5787, allocations: 97.34 kB / 444.6 MB, free: 16.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003177/0.5818, allocations: 280.3 kB / 444.9 MB, free: 16.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.5832, allocations: 0.5001 MB / 445.4 MB, free: 16.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-05/0.5833, allocations: 44.88 kB / 445.4 MB, free: 16.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.5834, allocations: 56.44 kB / 445.5 MB, free: 16.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003818/0.5872, allocations: 0.9512 MB / 446.4 MB, free: 16.28 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.5873, allocations: 4.938 kB / 446.4 MB, free: 16.28 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.5875, allocations: 30.59 kB / 446.5 MB, free: 16.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.187e-05/0.5875, allocations: 21.97 kB / 446.5 MB, free: 16.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004083/0.5916, allocations: 0.873 MB / 447.3 MB, free: 16.27 MB / 330.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.006846/0.5985, allocations: 4.657 MB / 452 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003679/0.6022, allocations: 0.7738 MB / 452.8 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06579/0.668, allocations: 21.56 MB / 474.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.177e-05/0.6681, allocations: 41.89 kB / 474.4 MB, free: 12.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.266e-06/0.6682, allocations: 0 / 474.4 MB, free: 12.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.01754/0.6857, allocations: 3.052 MB / 477.4 MB, free: 10.72 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.762e-05/0.6858, allocations: 110.7 kB / 477.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000783/0.6866, allocations: 426.8 kB / 478 MB, free: 10.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.6868, allocations: 36.95 kB / 478 MB, free: 10.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003071/0.6871, allocations: 331.4 kB / 478.3 MB, free: 9.973 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/0.6874, allocations: 202.6 kB / 478.5 MB, free: 9.812 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/0.6874, allocations: 14.25 kB / 478.5 MB, free: 9.809 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.6877, allocations: 369.3 kB / 478.9 MB, free: 9.461 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.6891, allocations: 328.4 kB / 479.2 MB, free: 9.234 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.6907, allocations: 0.5199 MB / 479.7 MB, free: 8.742 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.6922, allocations: 369.2 kB / 480.1 MB, free: 8.504 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.6922, allocations: 4 kB / 480.1 MB, free: 8.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.005899/0.6981, allocations: 1.193 MB / 481.3 MB, free: 7.613 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001143/0.6993, allocations: 2.354 MB / 483.6 MB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.6994, allocations: 4 kB / 483.6 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005552/0.7049, allocations: 0.5576 MB / 484.2 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.706, allocations: 147.9 kB / 484.4 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/0.7097, allocations: 1.568 MB / 485.9 MB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.7111, allocations: 81 kB / 486 MB, free: 3.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.7112, allocations: 38.23 kB / 486 MB, free: 2.973 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.7113, allocations: 4 kB / 486 MB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004411/0.7157, allocations: 1.018 MB / 487.1 MB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.7158, allocations: 7.984 kB / 487.1 MB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004698/0.7205, allocations: 0.4963 MB / 487.6 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.7216, allocations: 150 kB / 487.7 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003447/0.725, allocations: 1.526 MB / 489.2 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.7264, allocations: 87.72 kB / 489.3 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.7265, allocations: 38.86 kB / 489.4 MB, free: 200 kB / 346.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.0006383/0.7272, allocations: 294 kB / 489.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.7274, allocations: 55.34 kB / 489.7 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00783/0.7352, allocations: 3.455 MB / 493.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.794e-05/0.7354, allocations: 52.48 kB / 493.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.7354, allocations: 0 / 493.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.7354, allocations: 6.812 kB / 493.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/0.7458, allocations: 4.694 MB / 497.9 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.7459, allocations: 0 / 497.9 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007879/0.7467, allocations: 108.6 kB / 498 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004931/0.7517, allocations: 0.9587 MB / 499 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/0.7519, allocations: 12.81 kB / 499 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003629/0.7555, allocations: 1.996 MB / 0.4892 GB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.7555, allocations: 0 / 0.4892 GB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005834/0.7614, allocations: 2.267 MB / 0.4915 GB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007142/0.7621, allocations: 321.7 kB / 0.4918 GB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.7623, allocations: 11.69 kB / 0.4918 GB, free: 6.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.7634, allocations: 94.44 kB / 0.4919 GB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/0.7636, allocations: 52.19 kB / 0.4919 GB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-05/0.7637, allocations: 30.86 kB / 0.4919 GB, free: 5.883 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006905/0.7644, allocations: 389.8 kB / 0.4923 GB, free: 5.586 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7644, allocations: 0 / 0.4923 GB, free: 5.586 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006305/0.7708, allocations: 1.29 MB / 0.4936 GB, free: 4.371 MB / 362.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.01766/0.7885, allocations: 4.101 MB / 0.4976 GB, free: 1.051 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007618/0.7961, allocations: 1.809 MB / 0.4993 GB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.7962, allocations: 0 / 0.4993 GB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002829/0.799, allocations: 1.006 MB / 0.5003 GB, free: 15.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/0.8017, allocations: 279.8 kB / 0.5006 GB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02158/0.8233, allocations: 10.25 MB / 0.5106 GB, free: 5.652 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.8245, allocations: 1.162 MB / 0.5117 GB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002079/0.8266, allocations: 0.7239 MB / 0.5124 GB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000716/0.8274, allocations: 410.6 kB / 0.5128 GB, free: 3.664 MB / 378.7 MB Notification: Performance of SimCode: time 1.393e-06/0.8274, allocations: 0 / 0.5128 GB, free: 3.664 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1571/0.9845, allocations: 59.93 MB / 0.5714 GB, free: 8.023 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003317/0.9849, allocations: 280.2 kB / 0.5716 GB, free: 7.66 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.471/7.456, allocations: 0 / 0.5716 GB, free: 7.66 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat