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.TestControlledPump.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.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.465/2.465, allocations: 235 MB / 248 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.451e-05/4.46e-05, allocations: 4 kB / 309.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.4248, allocations: 54.85 MB / 364.6 MB, free: 5.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.121/8.546, allocations: 2.614 GB / 2.97 GB, free: 116.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/8.546, allocations: 82.61 kB / 2.97 GB, free: 116.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.189/12.74, allocations: 0.7575 GB / 3.728 GB, free: 32.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.883e-06/12.74, allocations: 0 / 3.728 GB, free: 32.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001623/12.74, allocations: 38.72 kB / 3.728 GB, free: 32.65 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01289/12.75, allocations: 2.712 MB / 3.73 GB, free: 31.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/12.75, allocations: 11.22 kB / 3.73 GB, free: 31.5 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005185/12.75, allocations: 175.4 kB / 3.73 GB, free: 31.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007249/12.76, allocations: 0.6417 MB / 3.731 GB, free: 31.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003368/12.76, allocations: 1.006 MB / 3.732 GB, free: 31.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/12.76, allocations: 98.94 kB / 3.732 GB, free: 31.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000289/12.76, allocations: 107.1 kB / 3.732 GB, free: 31.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00645/12.77, allocations: 1.925 MB / 3.734 GB, free: 30.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.945e-05/12.77, allocations: 8 kB / 3.734 GB, free: 30.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002178/12.77, allocations: 52.62 kB / 3.734 GB, free: 30.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.736e-05/12.77, allocations: 40.42 kB / 3.734 GB, free: 30.63 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005918/12.77, allocations: 1.623 MB / 3.736 GB, free: 30.62 MB / 0.4948 GB 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.0146/12.79, allocations: 9.302 MB / 3.745 GB, free: 24.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005757/12.79, allocations: 1.401 MB / 3.746 GB, free: 24.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/12.8, allocations: 457.2 kB / 3.747 GB, free: 24.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06595/12.86, allocations: 21.62 MB / 3.768 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.926e-05/12.86, allocations: 53.08 kB / 3.768 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=94): time 3.888e-06/12.86, allocations: 0 / 3.768 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=134): time 0.07252/12.93, allocations: 8.017 MB / 3.776 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/12.93, allocations: 171.8 kB / 3.776 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/12.94, allocations: 0.7245 MB / 3.777 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004068/12.94, allocations: 48.98 kB / 3.777 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000474/12.94, allocations: 0.6099 MB / 3.777 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006378/12.94, allocations: 457.8 kB / 3.778 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/12.94, allocations: 32.12 kB / 3.778 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001806/12.94, allocations: 368.6 kB / 3.778 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/12.94, allocations: 0.5686 MB / 3.779 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001886/12.94, allocations: 0.979 MB / 3.78 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/12.94, allocations: 0.6838 MB / 3.78 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/12.94, allocations: 8.062 kB / 3.78 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.006184/12.95, allocations: 1.978 MB / 3.782 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00182/12.95, allocations: 4.62 MB / 3.787 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.334e-05/12.95, allocations: 11.03 kB / 3.787 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/12.96, allocations: 1.315 MB / 3.788 GB, free: 18.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003618/12.97, allocations: 440.8 kB / 3.788 GB, free: 18.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006194/12.97, allocations: 3.092 MB / 3.791 GB, free: 16.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003542/12.98, allocations: 227.1 kB / 3.792 GB, free: 16.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004253/12.98, allocations: 106.1 kB / 3.792 GB, free: 16.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/12.98, allocations: 1.406 kB / 3.792 GB, free: 16.74 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005687/12.98, allocations: 1.774 MB / 3.793 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/12.98, allocations: 13.31 kB / 3.794 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002673/12.98, allocations: 0.5401 MB / 3.794 GB, free: 16.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005768/12.99, allocations: 0.5765 MB / 3.795 GB, free: 16.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003743/12.99, allocations: 1.648 MB / 3.796 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003261/13, allocations: 224.8 kB / 3.796 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004039/13, allocations: 97.67 kB / 3.797 GB, free: 15.63 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.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 (148): * Single equations (assignments): 144 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,3 11,1 7,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007321/13, allocations: 204.4 kB / 3.797 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005404/13, allocations: 129.6 kB / 3.797 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01478/13.01, allocations: 7.206 MB / 3.804 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001265/13.01, allocations: 80.45 kB / 3.804 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/13.01, allocations: 0 / 3.804 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.329e-05/13.01, allocations: 9.562 kB / 3.804 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01856/13.03, allocations: 9.48 MB / 3.813 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.14e-05/13.03, allocations: 0 / 3.813 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002792/13.04, allocations: 331.3 kB / 3.814 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01083/13.05, allocations: 2.712 MB / 3.816 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003948/13.05, allocations: 43.16 kB / 3.816 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007167/13.05, allocations: 4.389 MB / 3.821 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/13.05, allocations: 3.094 kB / 3.821 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008965/13.06, allocations: 4.588 MB / 3.825 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/13.06, allocations: 0.5336 MB / 3.826 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004404/13.07, allocations: 35.95 kB / 3.826 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002883/13.07, allocations: 226.9 kB / 3.826 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000453/13.07, allocations: 136.9 kB / 3.826 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001978/13.07, allocations: 64.25 kB / 3.826 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001283/13.07, allocations: 0.6255 MB / 3.827 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.11e-07/13.07, allocations: 0 / 3.827 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0102/13.08, allocations: 2.043 MB / 3.829 GB, free: 10.52 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 46 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 7,3 16,1 7,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0231/13.1, allocations: 7.043 MB / 3.835 GB, free: 24.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01129/13.11, allocations: 3.459 MB / 3.839 GB, free: 24.74 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/13.11, allocations: 3.219 kB / 3.839 GB, free: 24.74 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005129/13.12, allocations: 2.039 MB / 3.841 GB, free: 23.81 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005543/13.13, allocations: 0.5496 MB / 3.841 GB, free: 23.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7123/13.84, allocations: 80.3 MB / 3.92 GB, free: 58.49 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/13.84, allocations: 1.638 MB / 3.921 GB, free: 57.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/13.84, allocations: 0.8559 MB / 3.922 GB, free: 57.75 MB / 0.5261 GB Notification: Performance of SimCode: time 1.473e-06/13.84, allocations: 3.906 kB / 3.922 GB, free: 57.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.565/18.41, allocations: 93.57 MB / 4.014 GB, free: 49.09 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat