Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.206/2.206, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004435/0.0004436, allocations: 15.94 kB / 314.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3421, allocations: 54.86 MB / 369.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.803/8.145, allocations: 2.613 GB / 2.973 GB, free: 80.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/8.146, allocations: 90.7 kB / 2.973 GB, free: 80.45 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.19/10.34, allocations: 438.2 MB / 3.401 GB, free: 32.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.585e-06/10.34, allocations: 0 / 3.401 GB, free: 32.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.265e-05/10.34, allocations: 23.77 kB / 3.401 GB, free: 32.69 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.01019/10.35, allocations: 1.84 MB / 3.403 GB, free: 30.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/10.35, allocations: 8.031 kB / 3.403 GB, free: 30.81 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003605/10.35, allocations: 102.5 kB / 3.403 GB, free: 30.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005291/10.35, allocations: 333.3 kB / 3.404 GB, free: 30.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/10.35, allocations: 0.5872 MB / 3.404 GB, free: 29.76 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.155e-05/10.35, allocations: 45.31 kB / 3.404 GB, free: 29.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/10.35, allocations: 63.98 kB / 3.404 GB, free: 29.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004979/10.36, allocations: 0.9928 MB / 3.405 GB, free: 28.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/10.36, allocations: 0 / 3.405 GB, free: 28.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/10.36, allocations: 24 kB / 3.405 GB, free: 28.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.326e-05/10.36, allocations: 25.31 kB / 3.405 GB, free: 28.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005577/10.36, allocations: 0.9048 MB / 3.406 GB, free: 27.67 MB / 490.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.008441/10.37, allocations: 4.33 MB / 3.41 GB, free: 22.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004924/10.38, allocations: 0.7569 MB / 3.411 GB, free: 22.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6636/11.04, allocations: 78.99 MB / 3.488 GB, free: 38.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/11.04, allocations: 38.22 kB / 3.488 GB, free: 38.76 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 2.725e-06/11.04, allocations: 0 / 3.488 GB, free: 38.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52): time 0.01013/11.05, allocations: 2.286 MB / 3.491 GB, free: 38.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.121e-05/11.05, allocations: 113.4 kB / 3.491 GB, free: 38.17 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007763/11.05, allocations: 428.6 kB / 3.491 GB, free: 38.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.493e-05/11.05, allocations: 35.83 kB / 3.491 GB, free: 38.03 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/11.05, allocations: 369.8 kB / 3.491 GB, free: 37.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/11.05, allocations: 181.3 kB / 3.492 GB, free: 37.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/11.05, allocations: 15.86 kB / 3.492 GB, free: 37.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001576/11.05, allocations: 340.7 kB / 3.492 GB, free: 37.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009733/11.06, allocations: 257 kB / 3.492 GB, free: 37.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/11.06, allocations: 461.3 kB / 3.493 GB, free: 37.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/11.06, allocations: 310.2 kB / 3.493 GB, free: 37.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/11.06, allocations: 3.656 kB / 3.493 GB, free: 37.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003665/11.06, allocations: 0.9565 MB / 3.494 GB, free: 37.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00103/11.06, allocations: 2.352 MB / 3.496 GB, free: 34.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/11.06, allocations: 7.156 kB / 3.496 GB, free: 34.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003266/11.07, allocations: 430.9 kB / 3.497 GB, free: 34.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009301/11.07, allocations: 146.6 kB / 3.497 GB, free: 34.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/11.07, allocations: 0.9206 MB / 3.498 GB, free: 34.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/11.07, allocations: 87.12 kB / 3.498 GB, free: 34.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.266e-05/11.07, allocations: 42.03 kB / 3.498 GB, free: 34.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/11.07, allocations: 4.281 kB / 3.498 GB, free: 34.03 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003249/11.07, allocations: 0.8656 MB / 3.499 GB, free: 33.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/11.07, allocations: 6.625 kB / 3.499 GB, free: 33.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002086/11.08, allocations: 312 kB / 3.499 GB, free: 33.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009326/11.08, allocations: 148.9 kB / 3.499 GB, free: 33.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/11.08, allocations: 0.859 MB / 3.5 GB, free: 33.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009487/11.08, allocations: 81.25 kB / 3.5 GB, free: 33.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-05/11.08, allocations: 33.45 kB / 3.5 GB, free: 33.43 MB / 0.4948 GB 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 (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006305/11.08, allocations: 296.1 kB / 3.5 GB, free: 33.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/11.08, allocations: 63.23 kB / 3.5 GB, free: 33.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005082/11.08, allocations: 2.74 MB / 3.503 GB, free: 32.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-05/11.08, allocations: 38.27 kB / 3.503 GB, free: 32.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/11.08, allocations: 0 / 3.503 GB, free: 32.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/11.08, allocations: 3.422 kB / 3.503 GB, free: 32.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006735/11.09, allocations: 3.743 MB / 3.507 GB, free: 32.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/11.09, allocations: 0 / 3.507 GB, free: 32.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009981/11.09, allocations: 149.5 kB / 3.507 GB, free: 32.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006707/11.09, allocations: 101.3 kB / 3.507 GB, free: 32.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.915e-05/11.09, allocations: 22.45 kB / 3.507 GB, free: 32.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/11.09, allocations: 1.131 MB / 3.508 GB, free: 31.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/11.09, allocations: 0 / 3.508 GB, free: 31.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004784/11.1, allocations: 2.276 MB / 3.51 GB, free: 31.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007205/11.1, allocations: 339.2 kB / 3.511 GB, free: 30.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/11.1, allocations: 14.84 kB / 3.511 GB, free: 30.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008707/11.1, allocations: 70.8 kB / 3.511 GB, free: 30.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/11.1, allocations: 51.83 kB / 3.511 GB, free: 30.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-05/11.1, allocations: 25 kB / 3.511 GB, free: 30.94 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008564/11.1, allocations: 461.3 kB / 3.511 GB, free: 30.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/11.1, allocations: 0 / 3.511 GB, free: 30.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007353/11.11, allocations: 1.399 MB / 3.513 GB, free: 30.84 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.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 (62): * Single equations (assignments): 50 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01727/11.13, allocations: 4.447 MB / 3.517 GB, free: 29.87 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004719/11.13, allocations: 1.398 MB / 3.518 GB, free: 29.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/11.13, allocations: 3.75 kB / 3.518 GB, free: 29.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/11.13, allocations: 0.7386 MB / 3.519 GB, free: 29.81 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/11.14, allocations: 297.5 kB / 3.519 GB, free: 29.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7461/11.88, allocations: 130.3 MB / 3.647 GB, free: 78.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006789/11.88, allocations: 1.15 MB / 3.648 GB, free: 77.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008341/11.88, allocations: 454.6 kB / 3.648 GB, free: 77.54 MB / 0.5105 GB Notification: Performance of SimCode: time 1.483e-06/11.88, allocations: 0 / 3.648 GB, free: 77.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.153/16.04, allocations: 43.56 MB / 3.691 GB, free: 75.79 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat