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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.278/2.278, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.316e-05/3.333e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4806/0.4807, allocations: 54.85 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.254/8.735, allocations: 2.612 GB / 2.962 GB, free: 125.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/8.735, allocations: 81.23 kB / 2.962 GB, free: 125.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.231/10.97, allocations: 432.7 MB / 3.384 GB, free: 62.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.985e-06/10.97, allocations: 0 / 3.384 GB, free: 62.47 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.488e-05/10.97, allocations: 18.7 kB / 3.384 GB, free: 62.47 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.009462/10.98, allocations: 1.744 MB / 3.386 GB, free: 61.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/10.98, allocations: 11.19 kB / 3.386 GB, free: 61.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003875/10.98, allocations: 329.1 kB / 3.386 GB, free: 61.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/10.98, allocations: 0.5878 MB / 3.387 GB, free: 61.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.141e-05/10.98, allocations: 25.52 kB / 3.387 GB, free: 61.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/10.98, allocations: 34.44 kB / 3.387 GB, free: 61.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001496/10.98, allocations: 0.5358 MB / 3.387 GB, free: 61.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/10.99, allocations: 0.6492 MB / 3.388 GB, free: 60.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/10.99, allocations: 6.844 kB / 3.388 GB, free: 60.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.863e-05/10.99, allocations: 6.75 kB / 3.388 GB, free: 60.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/10.99, allocations: 23.61 kB / 3.388 GB, free: 60.84 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.01603/11, allocations: 7.062 MB / 3.395 GB, free: 55.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/11, allocations: 402.1 kB / 3.395 GB, free: 55.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004446/11, allocations: 205.2 kB / 3.396 GB, free: 55.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2822/11.29, allocations: 78.04 MB / 3.472 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/11.29, allocations: 42.89 kB / 3.472 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=46): time 3.076e-06/11.29, allocations: 0 / 3.472 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50): time 0.008685/11.29, allocations: 1.769 MB / 3.474 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/11.29, allocations: 111.2 kB / 3.474 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006365/11.29, allocations: 391.3 kB / 3.474 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.385e-05/11.29, allocations: 29.7 kB / 3.474 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/11.3, allocations: 380.8 kB / 3.474 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/11.3, allocations: 168.4 kB / 3.475 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/11.3, allocations: 0 / 3.475 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001481/11.3, allocations: 346.3 kB / 3.475 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/11.3, allocations: 181.3 kB / 3.475 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005398/11.3, allocations: 382 kB / 3.476 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/11.3, allocations: 322.3 kB / 3.476 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/11.3, allocations: 4 kB / 3.476 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00345/11.3, allocations: 0.8385 MB / 3.477 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000929/11.3, allocations: 2.359 MB / 3.479 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/11.3, allocations: 8 kB / 3.479 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/11.3, allocations: 311.1 kB / 3.479 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009805/11.31, allocations: 140 kB / 3.479 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/11.31, allocations: 0.953 MB / 3.48 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/11.31, allocations: 82.09 kB / 3.48 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.311e-05/11.31, allocations: 39.52 kB / 3.48 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/11.31, allocations: 4 kB / 3.48 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003069/11.31, allocations: 0.7262 MB / 3.481 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/11.31, allocations: 4 kB / 3.481 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/11.31, allocations: 250.3 kB / 3.481 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009767/11.31, allocations: 154 kB / 3.482 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/11.32, allocations: 0.8298 MB / 3.482 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000986/11.32, allocations: 74.98 kB / 3.482 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.92e-05/11.32, allocations: 35.94 kB / 3.482 GB, free: 2.039 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 () * 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.0002997/11.32, allocations: 128.8 kB / 3.483 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002525/11.32, allocations: 0.5583 MB / 3.483 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/11.32, allocations: 59.25 kB / 3.483 GB, free: 1.344 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3888/11.71, allocations: 2.339 MB / 3.485 GB, free: 78.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.657e-05/11.71, allocations: 31.16 kB / 3.485 GB, free: 78.35 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/11.71, allocations: 0 / 3.485 GB, free: 78.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/11.71, allocations: 7.375 kB / 3.486 GB, free: 78.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006955/11.72, allocations: 3.057 MB / 3.488 GB, free: 78.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/11.72, allocations: 3.422 kB / 3.488 GB, free: 78.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/11.72, allocations: 146.5 kB / 3.489 GB, free: 78.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004891/11.72, allocations: 90.33 kB / 3.489 GB, free: 78.01 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.736e-05/11.72, allocations: 9.297 kB / 3.489 GB, free: 78.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009777/11.72, allocations: 1.169 MB / 3.49 GB, free: 76.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/11.72, allocations: 0.7812 kB / 3.49 GB, free: 76.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003918/11.72, allocations: 1.85 MB / 3.492 GB, free: 76.78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007161/11.72, allocations: 335.2 kB / 3.492 GB, free: 76.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/11.72, allocations: 3.844 kB / 3.492 GB, free: 76.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008561/11.72, allocations: 51.78 kB / 3.492 GB, free: 76.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/11.72, allocations: 59.95 kB / 3.492 GB, free: 76.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/11.73, allocations: 16.81 kB / 3.492 GB, free: 76.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007577/11.73, allocations: 439.5 kB / 3.493 GB, free: 76.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.41e-07/11.73, allocations: 0 / 3.493 GB, free: 76.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00695/11.73, allocations: 1.348 MB / 3.494 GB, free: 76.57 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: 17 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.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 (58): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01471/11.75, allocations: 4.113 MB / 3.498 GB, free: 75.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003039/11.75, allocations: 1.077 MB / 3.499 GB, free: 75.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/11.75, allocations: 0 / 3.499 GB, free: 75.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/11.75, allocations: 0.5817 MB / 3.499 GB, free: 75.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/11.75, allocations: 274.1 kB / 3.5 GB, free: 75.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2692/12.02, allocations: 85.04 MB / 3.583 GB, free: 73.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006494/12.02, allocations: 1.118 MB / 3.584 GB, free: 72.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008098/12.03, allocations: 418.1 kB / 3.584 GB, free: 72.36 MB / 0.4948 GB Notification: Performance of SimCode: time 1.483e-06/12.03, allocations: 0 / 3.584 GB, free: 72.36 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.113/16.14, allocations: 44.24 MB / 3.627 GB, free: 48.87 MB / 0.4948 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