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.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",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.01083/0.01083, allocations: 104.4 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.001158/0.001157, allocations: 171.3 kB / 15.93 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.529/1.529, 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.2719/0.2719, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004618, allocations: 16 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08991/0.09041, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV): time 0.0572/0.1477, allocations: 35.04 MB / 407.3 MB, free: 9.719 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03364/0.1814, allocations: 17.25 MB / 424.6 MB, free: 8.434 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.1826, allocations: 27.75 kB / 424.6 MB, free: 8.406 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.1845, allocations: 434 kB / 425 MB, free: 7.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01698/0.2016, allocations: 4.044 MB / 429.1 MB, free: 3.926 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01229/0.2139, allocations: 2.921 MB / 432 MB, free: 1 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.2876/0.5015, allocations: 1.006 MB / 433 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.5027, allocations: 382.9 kB / 433.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.5051, allocations: 0.6437 MB / 434 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01857/0.5237, allocations: 6.232 MB / 440.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002662/0.524, allocations: 32.78 kB / 440.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01967/0.5437, allocations: 7.437 MB / 447.7 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003552/0.5441, allocations: 147.5 kB / 447.9 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003594/0.5445, allocations: 180.6 kB / 448 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009065/0.5535, allocations: 3.524 MB / 451.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5536, allocations: 0 / 451.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5536, allocations: 0 / 451.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.944e-05/0.5537, allocations: 0 / 451.6 MB, free: 14.23 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.005924/0.5596, allocations: 1.556 MB / 453.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.5597, allocations: 8.156 kB / 453.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000235/0.5599, allocations: 100.1 kB / 453.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003324/0.5632, allocations: 301.5 kB / 453.5 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.5646, allocations: 0.53 MB / 454 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.627e-05/0.5647, allocations: 51.38 kB / 454.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.5649, allocations: 60.66 kB / 454.2 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00372/0.5686, allocations: 1.007 MB / 455.2 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.5687, allocations: 3 kB / 455.2 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.5688, allocations: 32.34 kB / 455.2 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.183e-05/0.5689, allocations: 23.78 kB / 455.2 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004261/0.5732, allocations: 0.9276 MB / 456.2 MB, free: 12.7 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.007712/0.5809, allocations: 4.867 MB / 461 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004208/0.5852, allocations: 0.8434 MB / 461.9 MB, free: 8.645 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06841/0.6536, allocations: 21.57 MB / 483.4 MB, free: 2.578 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.541e-05/0.6538, allocations: 38.5 kB / 483.5 MB, free: 2.535 MB / 346.7 MB Notification: Performance of pre-optimization done (n=47): time 3.467e-06/0.6538, allocations: 0 / 483.5 MB, free: 2.535 MB / 346.7 MB Notification: Performance of matching and sorting (n=68): time 0.05722/0.711, allocations: 4.589 MB / 488.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.7112, allocations: 113.1 kB / 488.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.7126, allocations: 0.4966 MB / 488.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002489/0.7129, allocations: 40.14 kB / 488.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004642/0.7134, allocations: 360.4 kB / 489.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004485/0.7179, allocations: 225.9 kB / 489.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.7181, allocations: 16 kB / 489.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002955/0.7184, allocations: 369.5 kB / 489.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002896/0.7213, allocations: 497.2 kB / 490.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007637/0.729, allocations: 0.6938 MB / 490.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003368/0.7324, allocations: 0.5277 MB / 491.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.7325, allocations: 2.625 kB / 491.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.02167/0.7542, allocations: 1.566 MB / 492.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001472/0.7557, allocations: 2.442 MB / 495.4 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.22e-05/0.7558, allocations: 8 kB / 495.4 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03328/0.789, allocations: 1.641 MB / 497 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.7908, allocations: 172.4 kB / 497.2 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006186/0.797, allocations: 1.98 MB / 499.2 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/0.7989, allocations: 111.8 kB / 499.3 MB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.7991, allocations: 56.91 kB / 499.3 MB, free: 4.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.7992, allocations: 4 kB / 499.3 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006663/0.8058, allocations: 1.471 MB / 0.4891 GB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/0.8059, allocations: 8 kB / 0.4891 GB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009334/0.8153, allocations: 1.005 MB / 0.4901 GB, free: 2.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.8167, allocations: 190.6 kB / 0.4902 GB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005344/0.822, allocations: 1.864 MB / 0.4921 GB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.8238, allocations: 121.2 kB / 0.4922 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/0.824, allocations: 45.3 kB / 0.4922 GB, free: 0.9102 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (70): * Single equations (assignments): 68 * 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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006921/0.8247, allocations: 308 kB / 0.4925 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.825, allocations: 71.16 kB / 0.4926 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.8352, allocations: 4.091 MB / 0.4966 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.505e-05/0.8354, allocations: 48.17 kB / 0.4966 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.8354, allocations: 6.688 kB / 0.4966 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/0.8354, allocations: 3.984 kB / 0.4966 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/0.8485, allocations: 5.55 MB / 0.5021 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.8486, allocations: 0 / 0.5021 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007781/0.8494, allocations: 109 kB / 0.5022 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01583/0.8652, allocations: 2.276 MB / 0.5044 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002164/0.8655, allocations: 29.81 kB / 0.5044 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006135/0.8717, allocations: 2.656 MB / 0.507 GB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.8717, allocations: 0 / 0.507 GB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008206/0.8799, allocations: 2.929 MB / 0.5099 GB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008467/0.8808, allocations: 360 kB / 0.5102 GB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/0.881, allocations: 17.25 kB / 0.5102 GB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.8825, allocations: 108 kB / 0.5103 GB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/0.8827, allocations: 64.08 kB / 0.5104 GB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.8829, allocations: 32.48 kB / 0.5104 GB, free: 3.434 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008587/0.8837, allocations: 444.8 kB / 0.5108 GB, free: 3.102 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8837, allocations: 0 / 0.5108 GB, free: 3.102 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005986/0.8897, allocations: 1.457 MB / 0.5123 GB, free: 1.73 MB / 378.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,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 (46): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 13,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01726/0.9071, allocations: 4.675 MB / 0.5168 GB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009903/0.917, allocations: 2.368 MB / 0.5191 GB, free: 11.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.9171, allocations: 4 kB / 0.5191 GB, free: 11.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003715/0.9208, allocations: 1.22 MB / 0.5203 GB, free: 10.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002906/0.9238, allocations: 302.6 kB / 0.5206 GB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.9369, allocations: 8.516 MB / 0.5289 GB, free: 1.863 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.938, allocations: 1.198 MB / 0.5301 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002204/0.9402, allocations: 0.7291 MB / 0.5308 GB, free: 15.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008927/0.9411, allocations: 443.3 kB / 0.5312 GB, free: 15.49 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.9412, allocations: 0 / 0.5312 GB, free: 15.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4481/1.389, allocations: 70.73 MB / 0.6003 GB, free: 176.8 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002956/1.39, allocations: 273.7 kB / 0.6006 GB, free: 176.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.031/8.421, allocations: 0 / 0.6006 GB, free: 176.5 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat