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.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.352/2.352, allocations: 235.1 MB / 243 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.584e-05/2.61e-05, allocations: 4 kB / 303.3 MB, free: 3.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3861, allocations: 54.86 MB / 358.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.826/8.213, allocations: 2.612 GB / 2.962 GB, free: 116.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/8.213, allocations: 83.42 kB / 2.962 GB, free: 116.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.36/10.57, allocations: 432.1 MB / 3.384 GB, free: 58.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.764e-06/10.57, allocations: 0 / 3.384 GB, free: 58.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.437e-05/10.57, allocations: 20.16 kB / 3.384 GB, free: 58.11 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.008393/10.58, allocations: 1.774 MB / 3.385 GB, free: 57.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/10.58, allocations: 11.19 kB / 3.385 GB, free: 57.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003737/10.59, allocations: 328.4 kB / 3.386 GB, free: 57.22 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/10.59, allocations: 0.589 MB / 3.386 GB, free: 56.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.79e-05/10.59, allocations: 28.36 kB / 3.386 GB, free: 56.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/10.59, allocations: 31.84 kB / 3.386 GB, free: 56.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001351/10.59, allocations: 0.5406 MB / 3.387 GB, free: 56.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/10.59, allocations: 0.6478 MB / 3.387 GB, free: 56.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/10.59, allocations: 5.312 kB / 3.387 GB, free: 56.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.651e-05/10.59, allocations: 0 / 3.387 GB, free: 56.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.276e-05/10.59, allocations: 26.97 kB / 3.388 GB, free: 56.75 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.2709/10.86, allocations: 68.5 MB / 3.454 GB, free: 35.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009693/10.86, allocations: 341 kB / 3.455 GB, free: 35.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/10.86, allocations: 171.6 kB / 3.455 GB, free: 35.13 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0566/10.92, allocations: 17.02 MB / 3.472 GB, free: 18.58 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.537e-05/10.92, allocations: 42.44 kB / 3.472 GB, free: 18.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 4.548e-06/10.92, allocations: 0 / 3.472 GB, free: 18.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54): time 0.05321/10.97, allocations: 3.259 MB / 3.475 GB, free: 16.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/10.97, allocations: 122.2 kB / 3.475 GB, free: 16.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/10.97, allocations: 424.3 kB / 3.475 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002151/10.97, allocations: 25.7 kB / 3.475 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003992/10.97, allocations: 408.9 kB / 3.476 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000288/10.98, allocations: 176.5 kB / 3.476 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/10.98, allocations: 0 / 3.476 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002142/10.98, allocations: 344.3 kB / 3.476 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000949/10.98, allocations: 261 kB / 3.476 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/10.98, allocations: 490.9 kB / 3.477 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003384/10.98, allocations: 427.5 kB / 3.477 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/10.98, allocations: 4 kB / 3.477 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00628/10.99, allocations: 1.058 MB / 3.478 GB, free: 13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001541/10.99, allocations: 2.62 MB / 3.481 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.836e-05/10.99, allocations: 7.469 kB / 3.481 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005863/10.99, allocations: 0.5508 MB / 3.481 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/11, allocations: 177.1 kB / 3.482 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006982/11, allocations: 1.778 MB / 3.483 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002782/11.01, allocations: 130.2 kB / 3.483 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002921/11.01, allocations: 47.27 kB / 3.484 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/11.01, allocations: 8 kB / 3.484 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005203/11.01, allocations: 0.8063 MB / 3.484 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.929e-05/11.01, allocations: 8.5 kB / 3.484 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003248/11.02, allocations: 343 kB / 3.485 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/11.02, allocations: 180.9 kB / 3.485 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002874/11.02, allocations: 1.45 MB / 3.486 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/11.02, allocations: 106.4 kB / 3.486 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/11.02, allocations: 39.8 kB / 3.486 GB, free: 21.06 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.medium.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 (68): * Single equations (assignments): 66 * 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 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005398/11.02, allocations: 128.7 kB / 3.487 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007651/11.03, allocations: 0.9417 MB / 3.487 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004421/11.03, allocations: 63.25 kB / 3.487 GB, free: 20.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/11.04, allocations: 2.543 MB / 3.49 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.256e-05/11.04, allocations: 18.98 kB / 3.49 GB, free: 17.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/11.04, allocations: 11.88 kB / 3.49 GB, free: 17.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.488e-05/11.04, allocations: 0 / 3.49 GB, free: 17.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/11.05, allocations: 3.28 MB / 3.493 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/11.05, allocations: 0 / 3.493 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000939/11.05, allocations: 100.6 kB / 3.493 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006084/11.06, allocations: 1.457 MB / 3.495 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001984/11.06, allocations: 19.88 kB / 3.495 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007372/11.07, allocations: 2.592 MB / 3.497 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/11.07, allocations: 3.984 kB / 3.497 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00605/11.07, allocations: 1.823 MB / 3.499 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009546/11.07, allocations: 283.4 kB / 3.499 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002596/11.07, allocations: 3.609 kB / 3.499 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/11.08, allocations: 94.11 kB / 3.499 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/11.08, allocations: 47.36 kB / 3.499 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/11.08, allocations: 28.75 kB / 3.499 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001214/11.08, allocations: 432.3 kB / 3.5 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.61e-07/11.08, allocations: 0 / 3.5 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01044/11.09, allocations: 1.504 MB / 3.501 GB, free: 7.27 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.02249/11.11, allocations: 3.976 MB / 3.505 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007006/11.12, allocations: 1.265 MB / 3.506 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/11.12, allocations: 0 / 3.506 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002654/11.12, allocations: 0.6252 MB / 3.507 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003757/11.12, allocations: 247.4 kB / 3.507 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4459/11.57, allocations: 1.989 MB / 3.509 GB, free: 87.67 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/11.57, allocations: 1.046 MB / 3.51 GB, free: 86.97 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008708/11.57, allocations: 339.4 kB / 3.511 GB, free: 86.97 MB / 0.5105 GB Notification: Performance of SimCode: time 1.232e-06/11.57, allocations: 0.5312 kB / 3.511 GB, free: 86.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.537/16.11, allocations: 46.95 MB / 3.556 GB, free: 84.58 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat