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.56/2.56, allocations: 235 MB / 248.1 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.477e-05/3.505e-05, allocations: 4 kB / 309.8 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4262, allocations: 54.85 MB / 364.6 MB, free: 5.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.068/8.494, allocations: 2.613 GB / 2.969 GB, free: 116.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003827/8.494, allocations: 85.58 kB / 2.969 GB, free: 116.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.251/10.74, allocations: 436.9 MB / 3.395 GB, free: 53.51 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.607e-06/10.74, allocations: 0 / 3.395 GB, free: 53.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.891e-05/10.74, allocations: 23.53 kB / 3.395 GB, free: 53.5 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.008085/10.75, allocations: 1.754 MB / 3.397 GB, free: 52.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/10.75, allocations: 10.47 kB / 3.397 GB, free: 52.57 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002585/10.75, allocations: 98.88 kB / 3.397 GB, free: 52.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00375/10.76, allocations: 328.1 kB / 3.398 GB, free: 52.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/10.76, allocations: 0.5825 MB / 3.398 GB, free: 52.06 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.971e-05/10.76, allocations: 47.25 kB / 3.398 GB, free: 52.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/10.76, allocations: 52.31 kB / 3.398 GB, free: 52.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00321/10.76, allocations: 0.9726 MB / 3.399 GB, free: 51.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/10.76, allocations: 3.938 kB / 3.399 GB, free: 51.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/10.76, allocations: 27.72 kB / 3.399 GB, free: 51.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.169e-05/10.76, allocations: 23.22 kB / 3.399 GB, free: 51.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002909/10.77, allocations: 0.8016 MB / 3.4 GB, free: 51.32 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006972/10.77, allocations: 4.324 MB / 3.404 GB, free: 47.69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002703/10.78, allocations: 0.69 MB / 3.405 GB, free: 47.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005526/10.78, allocations: 224.4 kB / 3.405 GB, free: 47.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2918/11.07, allocations: 79.45 MB / 3.483 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/11.07, allocations: 46.83 kB / 3.483 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 3.296e-06/11.07, allocations: 0 / 3.483 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52): time 0.007349/11.08, allocations: 1.822 MB / 3.485 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.586e-05/11.08, allocations: 107.2 kB / 3.485 GB, free: 5.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007304/11.08, allocations: 422.9 kB / 3.485 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001237/11.08, allocations: 33.7 kB / 3.485 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/11.08, allocations: 372.2 kB / 3.485 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/11.08, allocations: 181.2 kB / 3.486 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/11.08, allocations: 16 kB / 3.486 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001395/11.08, allocations: 342.2 kB / 3.486 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/11.08, allocations: 197 kB / 3.486 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006068/11.08, allocations: 384.5 kB / 3.487 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006196/11.08, allocations: 249.9 kB / 3.487 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/11.08, allocations: 0 / 3.487 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002578/11.08, allocations: 0.7984 MB / 3.488 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009901/11.08, allocations: 2.36 MB / 3.49 GB, free: 16.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/11.08, allocations: 4 kB / 3.49 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002961/11.09, allocations: 387.2 kB / 3.49 GB, free: 16.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009998/11.09, allocations: 144.7 kB / 3.49 GB, free: 16.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/11.09, allocations: 0.867 MB / 3.491 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/11.09, allocations: 102.3 kB / 3.491 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/11.09, allocations: 38.86 kB / 3.491 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/11.09, allocations: 4 kB / 3.491 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002253/11.09, allocations: 0.7222 MB / 3.492 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/11.09, allocations: 4 kB / 3.492 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/11.09, allocations: 265.2 kB / 3.492 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/11.09, allocations: 150.7 kB / 3.492 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/11.1, allocations: 0.8176 MB / 3.493 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/11.1, allocations: 85.34 kB / 3.493 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.043e-05/11.1, allocations: 31.61 kB / 3.493 GB, free: 13.31 MB / 0.5105 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 () * 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.0003245/11.1, allocations: 148.8 kB / 3.494 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/11.1, allocations: 59.25 kB / 3.494 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005099/11.1, allocations: 2.663 MB / 3.496 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.337e-05/11.1, allocations: 34.02 kB / 3.496 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/11.1, allocations: 0 / 3.496 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/11.1, allocations: 2.578 kB / 3.496 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006872/11.11, allocations: 3.662 MB / 3.5 GB, free: 7.422 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/11.11, allocations: 3.609 kB / 3.5 GB, free: 7.422 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/11.11, allocations: 144.5 kB / 3.5 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005876/11.11, allocations: 106.5 kB / 3.5 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.493e-05/11.11, allocations: 12 kB / 3.5 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/11.11, allocations: 1.126 MB / 3.501 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/11.11, allocations: 0 / 3.501 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004249/11.12, allocations: 2.091 MB / 3.503 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007978/11.12, allocations: 340.3 kB / 3.503 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/11.12, allocations: 12 kB / 3.504 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009484/11.12, allocations: 71.61 kB / 3.504 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/11.12, allocations: 47.78 kB / 3.504 GB, free: 3.695 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.982e-05/11.12, allocations: 19.94 kB / 3.504 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009174/11.12, allocations: 449.5 kB / 3.504 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.01e-07/11.12, allocations: 3.938 kB / 3.504 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007514/11.13, allocations: 1.402 MB / 3.505 GB, free: 1.902 MB / 0.5105 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 () * 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.3894/11.52, allocations: 4.242 MB / 3.51 GB, free: 85.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003729/11.52, allocations: 1.212 MB / 3.511 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/11.52, allocations: 0 / 3.511 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001561/11.52, allocations: 0.6725 MB / 3.511 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002833/11.53, allocations: 291.8 kB / 3.512 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3723/11.9, allocations: 124.2 MB / 3.633 GB, free: 70.92 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000631/11.9, allocations: 1.152 MB / 3.634 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000781/11.9, allocations: 455.3 kB / 3.635 GB, free: 69.86 MB / 0.5105 GB Notification: Performance of SimCode: time 1.293e-06/11.9, allocations: 0 / 3.635 GB, free: 69.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.08/15.98, allocations: 44.65 MB / 3.678 GB, free: 35.5 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