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.TestWaterPumpRecirculation.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.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.351/2.351, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.915e-05/1.902e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3685, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.161/1.529, allocations: 315.2 MB / 0.6575 GB, free: 135.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/1.529, allocations: 82.69 kB / 0.6576 GB, free: 135.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.528/2.057, allocations: 162 MB / 0.8158 GB, free: 23.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.467e-06/2.058, allocations: 4 kB / 0.8158 GB, free: 23.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000114/2.058, allocations: 24.17 kB / 0.8158 GB, free: 23.09 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003844/2.062, allocations: 1.043 MB / 0.8168 GB, free: 22.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/2.062, allocations: 16.02 kB / 0.8168 GB, free: 21.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006497/2.062, allocations: 94.97 kB / 0.8169 GB, free: 21.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/2.064, allocations: 0.6167 MB / 0.8175 GB, free: 21.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/2.064, allocations: 19.95 kB / 0.8175 GB, free: 21.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/2.064, allocations: 39.94 kB / 0.8176 GB, free: 21.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00172/2.066, allocations: 0.6195 MB / 0.8182 GB, free: 20.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/2.067, allocations: 0.6632 MB / 0.8188 GB, free: 19.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/2.067, allocations: 3.938 kB / 0.8188 GB, free: 19.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.544e-05/2.068, allocations: 4 kB / 0.8188 GB, free: 19.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.393e-05/2.068, allocations: 17.31 kB / 0.8189 GB, free: 19.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006478/2.074, allocations: 3.214 MB / 0.822 GB, free: 16.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/2.075, allocations: 377.6 kB / 0.8224 GB, free: 16.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005947/2.076, allocations: 233.5 kB / 0.8226 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000434/2.076, allocations: 0.5719 MB / 0.8231 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/2.076, allocations: 42.55 kB / 0.8232 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00117/2.077, allocations: 99.53 kB / 0.8233 GB, free: 14.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 3.948e-06/2.078, allocations: 4 kB / 0.8233 GB, free: 14.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=63): time 0.05239/2.13, allocations: 4.737 MB / 0.8279 GB, free: 10.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/2.13, allocations: 115.4 kB / 0.828 GB, free: 9.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000844/2.131, allocations: 459.4 kB / 0.8285 GB, free: 9.523 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002239/2.131, allocations: 29.7 kB / 0.8285 GB, free: 9.488 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/2.131, allocations: 410 kB / 0.8289 GB, free: 9.086 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/2.132, allocations: 208.8 kB / 0.8291 GB, free: 8.879 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-05/2.132, allocations: 0 / 0.8291 GB, free: 8.879 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.122e-05/2.132, allocations: 342.8 kB / 0.8294 GB, free: 8.535 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006635/2.133, allocations: 254.6 kB / 0.8296 GB, free: 8.285 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007848/2.133, allocations: 0.4979 MB / 0.8301 GB, free: 7.676 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004601/2.138, allocations: 0.6226 MB / 0.8307 GB, free: 7.051 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/2.138, allocations: 0 / 0.8307 GB, free: 7.051 MB / 490.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.006355/2.144, allocations: 1.25 MB / 0.832 GB, free: 5.789 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006618/2.145, allocations: 2.962 MB / 0.8349 GB, free: 2.594 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/2.145, allocations: 11.94 kB / 0.8349 GB, free: 2.582 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008259/2.153, allocations: 0.6851 MB / 0.8355 GB, free: 1.891 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/2.155, allocations: 211.7 kB / 0.8357 GB, free: 1.684 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3718/2.527, allocations: 1.798 MB / 0.8375 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/2.529, allocations: 91 kB / 0.8376 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/2.53, allocations: 55.72 kB / 0.8376 GB, free: 110.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/2.53, allocations: 3.25 kB / 0.8376 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006548/2.536, allocations: 1.016 MB / 0.8386 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/2.536, allocations: 7.562 kB / 0.8386 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001811/2.538, allocations: 227.6 kB / 0.8388 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/2.54, allocations: 228.5 kB / 0.8391 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006207/2.546, allocations: 3.658 MB / 0.8426 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/2.548, allocations: 81.84 kB / 0.8427 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/2.548, allocations: 42.83 kB / 0.8428 GB, free: 108.3 MB / 490.7 MB 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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 {1 10,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004762/2.548, allocations: 133.2 kB / 0.8429 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006964/2.555, allocations: 1.076 MB / 0.8439 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/2.556, allocations: 82.67 kB / 0.844 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006339/2.562, allocations: 1.357 MB / 0.8453 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.5e-05/2.562, allocations: 11.38 kB / 0.8454 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/2.562, allocations: 7.578 kB / 0.8454 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.593e-05/2.562, allocations: 3.703 kB / 0.8454 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008845/2.571, allocations: 2.103 MB / 0.8474 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/2.571, allocations: 2.156 kB / 0.8474 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/2.572, allocations: 150.4 kB / 0.8476 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003305/2.576, allocations: 491.8 kB / 0.848 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/2.576, allocations: 24.95 kB / 0.8481 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002618/2.579, allocations: 1.571 MB / 0.8496 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/2.579, allocations: 3.688 kB / 0.8496 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006064/2.585, allocations: 1.539 MB / 0.8511 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007171/2.585, allocations: 245.7 kB / 0.8513 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/2.586, allocations: 3.875 kB / 0.8513 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/2.587, allocations: 85.91 kB / 0.8514 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/2.587, allocations: 54.92 kB / 0.8515 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/2.587, allocations: 36.53 kB / 0.8515 GB, free: 106.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005785/2.588, allocations: 344.4 kB / 0.8518 GB, free: 106.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.82e-07/2.588, allocations: 0 / 0.8518 GB, free: 106.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003426/2.591, allocations: 0.6154 MB / 0.8524 GB, free: 106.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 6,3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.008658/2.6, allocations: 2.559 MB / 0.8549 GB, free: 105.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005453/2.606, allocations: 1.383 MB / 0.8563 GB, free: 105.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/2.606, allocations: 2.812 kB / 0.8563 GB, free: 105.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00126/2.607, allocations: 405.7 kB / 0.8567 GB, free: 105.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002789/2.61, allocations: 291.2 kB / 0.8569 GB, free: 105.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/2.615, allocations: 1.386 MB / 0.8583 GB, free: 104.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/2.616, allocations: 0.985 MB / 0.8593 GB, free: 104.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007604/2.617, allocations: 313.8 kB / 0.8596 GB, free: 104.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.373e-06/2.617, allocations: 0 / 0.8596 GB, free: 104.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.299/5.916, allocations: 25.74 MB / 0.8847 GB, free: 103.2 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat does not exist to compare? outputFormat=mat