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.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.46/2.46, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.088e-05/2.086e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3591, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.878/8.237, allocations: 2.612 GB / 2.962 GB, free: 127 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/8.237, allocations: 91.34 kB / 2.962 GB, free: 127 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.155/10.39, allocations: 433.1 MB / 3.385 GB, free: 61.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.803e-06/10.39, allocations: 3.938 kB / 3.385 GB, free: 61.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.546e-05/10.39, allocations: 12.83 kB / 3.385 GB, free: 61.95 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.007751/10.4, allocations: 1.788 MB / 3.387 GB, free: 61.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/10.4, allocations: 7.469 kB / 3.387 GB, free: 61.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003649/10.4, allocations: 328.6 kB / 3.387 GB, free: 60.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/10.41, allocations: 0.5972 MB / 3.388 GB, free: 60.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.235e-05/10.41, allocations: 27.67 kB / 3.388 GB, free: 60.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/10.41, allocations: 35.5 kB / 3.388 GB, free: 60.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001423/10.41, allocations: 0.5528 MB / 3.388 GB, free: 60.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/10.41, allocations: 0.6719 MB / 3.389 GB, free: 59.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/10.41, allocations: 3.75 kB / 3.389 GB, free: 59.99 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.964e-05/10.41, allocations: 3.75 kB / 3.389 GB, free: 59.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.662e-05/10.41, allocations: 34.58 kB / 3.389 GB, free: 59.98 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.128/10.54, allocations: 36.63 MB / 3.425 GB, free: 39.33 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/10.54, allocations: 454.7 kB / 3.425 GB, free: 39.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004375/10.54, allocations: 204.9 kB / 3.425 GB, free: 39.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05732/10.6, allocations: 20.04 MB / 3.445 GB, free: 20.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.332e-05/10.6, allocations: 45.84 kB / 3.445 GB, free: 20.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 5.731e-06/10.6, allocations: 3.469 kB / 3.445 GB, free: 20.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=63): time 0.0409/10.64, allocations: 3.622 MB / 3.449 GB, free: 18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/10.64, allocations: 114.4 kB / 3.449 GB, free: 17.87 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000724/10.64, allocations: 418.5 kB / 3.449 GB, free: 17.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001295/10.64, allocations: 25.7 kB / 3.449 GB, free: 17.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/10.64, allocations: 402.9 kB / 3.45 GB, free: 17.08 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/10.64, allocations: 214.1 kB / 3.45 GB, free: 16.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.512e-05/10.64, allocations: 0 / 3.45 GB, free: 16.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.106e-05/10.64, allocations: 344.9 kB / 3.45 GB, free: 16.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000756/10.64, allocations: 325.9 kB / 3.45 GB, free: 16.24 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008781/10.64, allocations: 0.5304 MB / 3.451 GB, free: 15.65 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003082/10.64, allocations: 0.5516 MB / 3.451 GB, free: 15.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/10.64, allocations: 0 / 3.451 GB, free: 15.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.005347/10.65, allocations: 1.298 MB / 3.453 GB, free: 14.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005396/10.65, allocations: 2.444 MB / 3.455 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/10.65, allocations: 8 kB / 3.455 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005464/10.66, allocations: 0.8054 MB / 3.456 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/10.66, allocations: 176.7 kB / 3.456 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004385/10.66, allocations: 1.963 MB / 3.458 GB, free: 8.723 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/10.66, allocations: 115.1 kB / 3.458 GB, free: 8.637 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/10.66, allocations: 51.78 kB / 3.458 GB, free: 8.594 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/10.66, allocations: 7.938 kB / 3.458 GB, free: 8.586 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004368/10.67, allocations: 0.9724 MB / 3.459 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/10.67, allocations: 8 kB / 3.459 GB, free: 7.715 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00216/10.67, allocations: 327.4 kB / 3.459 GB, free: 7.465 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/10.67, allocations: 205.5 kB / 3.46 GB, free: 7.297 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/10.67, allocations: 1.46 MB / 3.461 GB, free: 5.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/10.68, allocations: 106.5 kB / 3.461 GB, free: 5.758 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/10.68, allocations: 43.27 kB / 3.461 GB, free: 5.723 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 $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: 28 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.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 (69): * Single equations (assignments): 67 * 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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004025/10.68, allocations: 129 kB / 3.461 GB, free: 5.59 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004589/10.68, allocations: 1.065 MB / 3.462 GB, free: 4.629 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/10.68, allocations: 67.16 kB / 3.462 GB, free: 4.562 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007532/10.69, allocations: 3.441 MB / 3.466 GB, free: 1.523 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.113e-05/10.69, allocations: 34.62 kB / 3.466 GB, free: 1.504 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/10.69, allocations: 4 kB / 3.466 GB, free: 1.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/10.69, allocations: 7.562 kB / 3.466 GB, free: 1.496 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/10.7, allocations: 4.628 MB / 3.47 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/10.7, allocations: 0 / 3.47 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006489/10.7, allocations: 90.03 kB / 3.47 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006034/10.71, allocations: 1.719 MB / 3.472 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/10.71, allocations: 25.97 kB / 3.472 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005337/10.71, allocations: 2.807 MB / 3.475 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-06/10.71, allocations: 0 / 3.475 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006992/10.72, allocations: 2.594 MB / 3.477 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008437/10.72, allocations: 300.9 kB / 3.478 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/10.72, allocations: 3.75 kB / 3.478 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/10.72, allocations: 105.5 kB / 3.478 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/10.72, allocations: 57.3 kB / 3.478 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/10.72, allocations: 35.64 kB / 3.478 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007805/10.72, allocations: 364.3 kB / 3.478 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.11e-07/10.72, allocations: 0 / 3.478 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007846/10.73, allocations: 1.518 MB / 3.48 GB, free: 4.738 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 13,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02059/10.75, allocations: 4.798 MB / 3.484 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.3738/11.12, allocations: 1.704 MB / 3.486 GB, free: 76.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/11.12, allocations: 1.547 kB / 3.486 GB, free: 76.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00223/11.13, allocations: 0.9589 MB / 3.487 GB, free: 76.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/11.13, allocations: 269.4 kB / 3.487 GB, free: 76.72 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008971/11.14, allocations: 2.443 MB / 3.49 GB, free: 76.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007172/11.14, allocations: 1.134 MB / 3.491 GB, free: 75.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006952/11.14, allocations: 399 kB / 3.491 GB, free: 75.57 MB / 0.4948 GB Notification: Performance of SimCode: time 1.163e-06/11.14, allocations: 0 / 3.491 GB, free: 75.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.239/15.38, allocations: 49.89 MB / 3.54 GB, free: 72.89 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat