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.337/2.337, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004492, allocations: 11.98 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3653, allocations: 54.87 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.895/8.26, allocations: 2.614 GB / 2.975 GB, free: 78.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/8.26, allocations: 87.27 kB / 2.975 GB, free: 78.75 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.009/12.27, allocations: 0.7598 GB / 3.735 GB, free: 41.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.695e-06/12.27, allocations: 0 / 3.735 GB, free: 41.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001457/12.27, allocations: 40.84 kB / 3.735 GB, free: 41.82 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.01318/12.28, allocations: 2.879 MB / 3.737 GB, free: 40.37 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/12.28, allocations: 10.06 kB / 3.737 GB, free: 40.37 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006712/12.28, allocations: 174.4 kB / 3.738 GB, free: 40.33 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007309/12.29, allocations: 0.6397 MB / 3.738 GB, free: 40.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003329/12.29, allocations: 1.015 MB / 3.739 GB, free: 39.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/12.29, allocations: 92.94 kB / 3.739 GB, free: 39.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/12.3, allocations: 112.6 kB / 3.739 GB, free: 39.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00758/12.3, allocations: 2.005 MB / 3.741 GB, free: 39.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.163e-05/12.3, allocations: 6.969 kB / 3.741 GB, free: 39.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002286/12.3, allocations: 52.69 kB / 3.741 GB, free: 39.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.98e-05/12.3, allocations: 44.36 kB / 3.742 GB, free: 39.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008705/12.31, allocations: 1.875 MB / 3.743 GB, free: 39.25 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01472/12.33, allocations: 9.307 MB / 3.752 GB, free: 31.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007725/12.33, allocations: 1.599 MB / 3.754 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06191/12.4, allocations: 21.55 MB / 3.775 GB, free: 16.58 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/12.4, allocations: 42.78 kB / 3.775 GB, free: 16.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=94): time 4.669e-06/12.4, allocations: 0 / 3.775 GB, free: 16.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=134): time 0.08057/12.48, allocations: 9.425 MB / 3.784 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/12.48, allocations: 175.5 kB / 3.784 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/12.48, allocations: 0.7356 MB / 3.785 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003536/12.48, allocations: 57.64 kB / 3.785 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004582/12.48, allocations: 0.6065 MB / 3.786 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005568/12.48, allocations: 456.1 kB / 3.786 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/12.48, allocations: 32 kB / 3.786 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001186/12.48, allocations: 370.1 kB / 3.787 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003452/12.48, allocations: 0.8226 MB / 3.787 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003734/12.49, allocations: 1.23 MB / 3.789 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004015/12.49, allocations: 0.9361 MB / 3.79 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/12.49, allocations: 4 kB / 3.79 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01023/12.5, allocations: 2.551 MB / 3.792 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002166/12.5, allocations: 4.621 MB / 3.797 GB, free: 17.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.782e-05/12.5, allocations: 12 kB / 3.797 GB, free: 17.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01114/12.52, allocations: 1.435 MB / 3.798 GB, free: 16.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003497/12.52, allocations: 442.1 kB / 3.798 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007923/12.53, allocations: 3.272 MB / 3.802 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003518/12.53, allocations: 226.9 kB / 3.802 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003608/12.53, allocations: 107.1 kB / 3.802 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/12.53, allocations: 4.625 kB / 3.802 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01033/12.54, allocations: 2.306 MB / 3.804 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/12.54, allocations: 16.06 kB / 3.804 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003392/12.54, allocations: 0.6126 MB / 3.805 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005648/12.55, allocations: 0.5707 MB / 3.805 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004651/12.56, allocations: 1.727 MB / 3.807 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/12.56, allocations: 232 kB / 3.807 GB, free: 7.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003713/12.56, allocations: 95.19 kB / 3.807 GB, free: 7.512 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 () * Number of clocked 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.001452/12.56, allocations: 426.7 kB / 3.808 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005406/12.56, allocations: 130.5 kB / 3.808 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0212/12.58, allocations: 7.367 MB / 3.815 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001358/12.58, allocations: 86.09 kB / 3.815 GB, free: 468 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/12.58, allocations: 0 / 3.815 GB, free: 468 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-05/12.58, allocations: 7.125 kB / 3.815 GB, free: 468 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4461/13.03, allocations: 9.848 MB / 3.825 GB, free: 56.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/13.03, allocations: 2.234 kB / 3.825 GB, free: 56.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002546/13.03, allocations: 326.7 kB / 3.825 GB, free: 56.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01112/13.04, allocations: 2.506 MB / 3.828 GB, free: 56.24 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003176/13.04, allocations: 55.92 kB / 3.828 GB, free: 56.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00796/13.05, allocations: 4.455 MB / 3.832 GB, free: 54.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/13.05, allocations: 2.156 kB / 3.832 GB, free: 54.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/13.06, allocations: 5.048 MB / 3.837 GB, free: 53.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001437/13.06, allocations: 0.5388 MB / 3.837 GB, free: 53.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003374/13.06, allocations: 28.28 kB / 3.837 GB, free: 53.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002483/13.07, allocations: 226.5 kB / 3.838 GB, free: 53.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004115/13.07, allocations: 133.3 kB / 3.838 GB, free: 53.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001842/13.07, allocations: 69.23 kB / 3.838 GB, free: 53.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001181/13.07, allocations: 0.6353 MB / 3.838 GB, free: 53.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/13.07, allocations: 0 / 3.838 GB, free: 53.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009582/13.08, allocations: 2.047 MB / 3.84 GB, free: 53.49 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 () * Number of clocked 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.02799/13.11, allocations: 7.598 MB / 3.848 GB, free: 52.19 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.024/13.13, allocations: 4.23 MB / 3.852 GB, free: 52.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.761e-05/13.13, allocations: 0 / 3.852 GB, free: 52.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01001/13.14, allocations: 2.293 MB / 3.854 GB, free: 52.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00649/13.15, allocations: 0.5612 MB / 3.855 GB, free: 52.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2838/13.43, allocations: 90.63 MB / 3.943 GB, free: 36.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/13.43, allocations: 1.63 MB / 3.945 GB, free: 35.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001794/13.43, allocations: 0.8578 MB / 3.946 GB, free: 35.82 MB / 0.5105 GB Notification: Performance of SimCode: time 1.203e-06/13.43, allocations: 1.781 kB / 3.946 GB, free: 35.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.114/18.55, allocations: 91.32 MB / 4.035 GB, free: 70 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