Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.927/1.927, allocations: 209.2 MB / 224.8 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004631/0.0004634, allocations: 12 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1089, allocations: 48.7 MB / 331.4 MB, free: 8.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.68/7.789, allocations: 2.503 GB / 2.827 GB, free: 9.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/7.789, allocations: 91.2 kB / 2.827 GB, free: 9.723 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.123/11.91, allocations: 0.7396 GB / 3.567 GB, free: 33.11 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.605e-06/11.91, allocations: 0 / 3.567 GB, free: 33.11 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001708/11.91, allocations: 42.33 kB / 3.567 GB, free: 33.1 MB / 458.7 MB 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.01344/11.93, allocations: 2.794 MB / 3.57 GB, free: 31.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/11.93, allocations: 11.53 kB / 3.57 GB, free: 31.79 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007183/11.93, allocations: 174.3 kB / 3.57 GB, free: 31.74 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007061/11.93, allocations: 0.616 MB / 3.57 GB, free: 31.66 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003412/11.94, allocations: 1.01 MB / 3.571 GB, free: 31.33 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/11.94, allocations: 101 kB / 3.571 GB, free: 31.32 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003275/11.94, allocations: 108.2 kB / 3.572 GB, free: 31.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007744/11.95, allocations: 2.008 MB / 3.573 GB, free: 30.93 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.358e-05/11.95, allocations: 13.08 kB / 3.573 GB, free: 30.92 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002443/11.95, allocations: 56.66 kB / 3.574 GB, free: 30.92 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.126e-05/11.95, allocations: 44.14 kB / 3.574 GB, free: 30.92 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008485/11.95, allocations: 1.872 MB / 3.575 GB, free: 30.9 MB / 458.7 MB 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.01442/11.97, allocations: 9.31 MB / 3.585 GB, free: 24.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007537/11.98, allocations: 1.595 MB / 3.586 GB, free: 24.49 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0608/12.04, allocations: 21.5 MB / 3.607 GB, free: 26.71 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/12.04, allocations: 50.91 kB / 3.607 GB, free: 26.68 MB / 474.7 MB Notification: Performance of pre-optimization done (n=94): time 4.138e-06/12.04, allocations: 0 / 3.607 GB, free: 26.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=134): time 0.07921/12.12, allocations: 9.435 MB / 3.616 GB, free: 25.41 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/12.12, allocations: 170.7 kB / 3.616 GB, free: 25.22 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/12.12, allocations: 0.7397 MB / 3.617 GB, free: 25.06 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003753/12.12, allocations: 52.64 kB / 3.617 GB, free: 25.03 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004501/12.12, allocations: 0.6157 MB / 3.618 GB, free: 24.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005618/12.12, allocations: 449.2 kB / 3.618 GB, free: 24.38 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/12.12, allocations: 27.53 kB / 3.618 GB, free: 24.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/12.12, allocations: 366.8 kB / 3.619 GB, free: 24.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003517/12.12, allocations: 0.8271 MB / 3.619 GB, free: 24.05 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003828/12.13, allocations: 1.228 MB / 3.621 GB, free: 23.55 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003985/12.13, allocations: 0.9352 MB / 3.622 GB, free: 23.51 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/12.13, allocations: 3.875 kB / 3.622 GB, free: 23.51 MB / 474.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.0104/12.14, allocations: 2.549 MB / 3.624 GB, free: 23.35 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001844/12.14, allocations: 4.629 MB / 3.629 GB, free: 18.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.739e-05/12.14, allocations: 11.75 kB / 3.629 GB, free: 18.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01104/12.16, allocations: 1.445 MB / 3.63 GB, free: 18.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003498/12.16, allocations: 444.6 kB / 3.63 GB, free: 18.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007696/12.17, allocations: 3.261 MB / 3.634 GB, free: 16.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003378/12.17, allocations: 229.8 kB / 3.634 GB, free: 16.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003285/12.17, allocations: 109.8 kB / 3.634 GB, free: 16.26 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/12.17, allocations: 6.844 kB / 3.634 GB, free: 16.26 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009222/12.18, allocations: 2.304 MB / 3.636 GB, free: 16.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/12.18, allocations: 10.56 kB / 3.636 GB, free: 16.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00299/12.18, allocations: 0.6149 MB / 3.637 GB, free: 16.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005201/12.19, allocations: 0.571 MB / 3.637 GB, free: 16.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004063/12.19, allocations: 1.725 MB / 3.639 GB, free: 15.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002924/12.2, allocations: 226.7 kB / 3.639 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003077/12.2, allocations: 96.73 kB / 3.639 GB, free: 15.05 MB / 474.7 MB 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.001298/12.2, allocations: 425 kB / 3.64 GB, free: 14.85 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004684/12.2, allocations: 131.9 kB / 3.64 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01735/12.21, allocations: 7.362 MB / 3.647 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001046/12.21, allocations: 85.64 kB / 3.647 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/12.21, allocations: 3.281 kB / 3.647 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.667e-05/12.21, allocations: 9.703 kB / 3.647 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02172/12.24, allocations: 9.855 MB / 3.657 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-05/12.24, allocations: 0 / 3.657 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002576/12.24, allocations: 328.2 kB / 3.657 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01113/12.25, allocations: 2.515 MB / 3.66 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003655/12.25, allocations: 48.95 kB / 3.66 GB, free: 12.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008428/12.26, allocations: 4.459 MB / 3.664 GB, free: 9.754 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/12.26, allocations: 0 / 3.664 GB, free: 9.754 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/12.27, allocations: 5.043 MB / 3.669 GB, free: 7.539 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/12.27, allocations: 0.5393 MB / 3.669 GB, free: 7.164 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004199/12.27, allocations: 30.44 kB / 3.669 GB, free: 7.141 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002905/12.28, allocations: 231.2 kB / 3.67 GB, free: 7.098 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006296/12.28, allocations: 126.8 kB / 3.67 GB, free: 7.082 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002368/12.28, allocations: 63.47 kB / 3.67 GB, free: 7.07 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001426/12.28, allocations: 0.6409 MB / 3.67 GB, free: 6.762 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.113e-06/12.28, allocations: 1.406 kB / 3.67 GB, free: 6.762 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009492/12.29, allocations: 2.03 MB / 3.672 GB, free: 4.773 MB / 474.7 MB 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.02684/12.32, allocations: 7.579 MB / 3.68 GB, free: 14.19 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01689/12.33, allocations: 4.236 MB / 3.684 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/12.33, allocations: 0 / 3.684 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007497/12.34, allocations: 2.29 MB / 3.686 GB, free: 8.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005337/12.35, allocations: 0.565 MB / 3.687 GB, free: 8.074 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6349/12.98, allocations: 90.05 MB / 3.775 GB, free: 43.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/12.98, allocations: 1.635 MB / 3.776 GB, free: 43.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001746/12.98, allocations: 0.8601 MB / 3.777 GB, free: 43.05 MB / 490.7 MB Notification: Performance of SimCode: time 1.001e-06/12.98, allocations: 0.5625 kB / 3.777 GB, free: 43.05 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.569/17.55, allocations: 91.11 MB / 3.866 GB, free: 5.879 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat