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.TestWaterPumpDCMotor.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.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.221/2.221, allocations: 235.1 MB / 243 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.832e-05/2.835e-05, allocations: 4 kB / 303.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4399, allocations: 54.87 MB / 358.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.047/8.487, allocations: 2.627 GB / 2.977 GB, free: 125.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/8.488, allocations: 89.48 kB / 2.977 GB, free: 125.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.286/10.77, allocations: 451.1 MB / 3.418 GB, free: 56.61 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.174e-06/10.77, allocations: 0 / 3.418 GB, free: 56.61 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001321/10.77, allocations: 37.38 kB / 3.418 GB, free: 56.6 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.01079/10.78, allocations: 2.306 MB / 3.42 GB, free: 55.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/10.78, allocations: 11.59 kB / 3.42 GB, free: 55.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004574/10.79, allocations: 437.7 kB / 3.421 GB, free: 55.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003403/10.79, allocations: 1.004 MB / 3.422 GB, free: 54.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/10.79, allocations: 46.41 kB / 3.422 GB, free: 54.56 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000313/10.79, allocations: 82.23 kB / 3.422 GB, free: 54.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002807/10.8, allocations: 0.9389 MB / 3.423 GB, free: 54.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00317/10.8, allocations: 1.2 MB / 3.424 GB, free: 53.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.694e-05/10.8, allocations: 7.5 kB / 3.424 GB, free: 53.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/10.8, allocations: 3.594 kB / 3.424 GB, free: 53.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.602e-05/10.8, allocations: 44.34 kB / 3.424 GB, free: 53.56 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.2625/11.06, allocations: 71.43 MB / 3.494 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/11.06, allocations: 493 kB / 3.494 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005947/11.06, allocations: 251.3 kB / 3.494 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4408/11.51, allocations: 17 MB / 3.511 GB, free: 67.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.944e-05/11.51, allocations: 44.59 kB / 3.511 GB, free: 67.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=60): time 3.326e-06/11.51, allocations: 0 / 3.511 GB, free: 67.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=81): time 0.04629/11.55, allocations: 4.714 MB / 3.516 GB, free: 66.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/11.55, allocations: 139.7 kB / 3.516 GB, free: 66.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/11.55, allocations: 0.7169 MB / 3.516 GB, free: 66.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002172/11.55, allocations: 25.7 kB / 3.516 GB, free: 66.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005316/11.55, allocations: 0.7417 MB / 3.517 GB, free: 65.76 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003502/11.55, allocations: 284.8 kB / 3.517 GB, free: 65.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.936e-05/11.55, allocations: 0 / 3.517 GB, free: 65.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001086/11.55, allocations: 359.5 kB / 3.518 GB, free: 65.31 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008577/11.56, allocations: 359.6 kB / 3.518 GB, free: 65.31 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/11.56, allocations: 0.8475 MB / 3.519 GB, free: 64.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002733/11.56, allocations: 0.5962 MB / 3.519 GB, free: 64.69 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.098e-05/11.56, allocations: 7.75 kB / 3.519 GB, free: 64.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.005278/11.56, allocations: 1.471 MB / 3.521 GB, free: 64.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001504/11.57, allocations: 6.361 MB / 3.527 GB, free: 57.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.42e-05/11.57, allocations: 18.66 kB / 3.527 GB, free: 57.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004254/11.57, allocations: 0.564 MB / 3.528 GB, free: 57.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/11.57, allocations: 296.9 kB / 3.528 GB, free: 57.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004287/11.58, allocations: 1.792 MB / 3.53 GB, free: 56.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/11.58, allocations: 122.7 kB / 3.53 GB, free: 56.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002685/11.58, allocations: 81.27 kB / 3.53 GB, free: 56.92 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/11.58, allocations: 3.969 kB / 3.53 GB, free: 56.92 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005014/11.58, allocations: 1.23 MB / 3.531 GB, free: 56.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-05/11.58, allocations: 16.72 kB / 3.531 GB, free: 56.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002375/11.59, allocations: 349.7 kB / 3.531 GB, free: 56.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/11.59, allocations: 300.9 kB / 3.532 GB, free: 56.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/11.59, allocations: 1.487 MB / 3.533 GB, free: 55.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/11.59, allocations: 92.7 kB / 3.533 GB, free: 55.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/11.59, allocations: 72.14 kB / 3.533 GB, free: 55.82 MB / 0.4948 GB 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: 73 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.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 (142): * Single equations (assignments): 140 * 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 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005584/11.59, allocations: 161.8 kB / 3.534 GB, free: 55.71 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005513/11.6, allocations: 1.128 MB / 3.535 GB, free: 55.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005079/11.6, allocations: 115.3 kB / 3.535 GB, free: 55.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00685/11.61, allocations: 2.707 MB / 3.537 GB, free: 55.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.94e-05/11.61, allocations: 23.8 kB / 3.537 GB, free: 55.35 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/11.61, allocations: 0 / 3.537 GB, free: 55.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.721e-05/11.61, allocations: 6.375 kB / 3.537 GB, free: 55.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009975/11.62, allocations: 4.288 MB / 3.542 GB, free: 54.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/11.62, allocations: 0 / 3.542 GB, free: 54.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000943/11.62, allocations: 119.8 kB / 3.542 GB, free: 54.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004533/11.62, allocations: 1.507 MB / 3.543 GB, free: 54.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002024/11.62, allocations: 14.81 kB / 3.543 GB, free: 54.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004519/11.63, allocations: 2.652 MB / 3.546 GB, free: 53.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2331/11.86, allocations: 56.92 MB / 3.601 GB, free: 47.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005808/11.87, allocations: 2.917 MB / 3.604 GB, free: 46.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009885/11.87, allocations: 341.2 kB / 3.605 GB, free: 46.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/11.87, allocations: 8.688 kB / 3.605 GB, free: 46.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/11.87, allocations: 77.33 kB / 3.605 GB, free: 46.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/11.87, allocations: 63.31 kB / 3.605 GB, free: 46.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.599e-05/11.87, allocations: 28.95 kB / 3.605 GB, free: 46.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001221/11.87, allocations: 0.6257 MB / 3.605 GB, free: 46.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.82e-07/11.87, allocations: 3.719 kB / 3.605 GB, free: 46.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01903/11.89, allocations: 3.881 MB / 3.609 GB, free: 44.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 ($STATESET1.x,motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8,3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.04043/11.93, allocations: 6.597 MB / 3.616 GB, free: 39.81 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006145/11.94, allocations: 1.786 MB / 3.617 GB, free: 38.78 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.403e-06/11.94, allocations: 0 / 3.617 GB, free: 38.78 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002279/11.94, allocations: 0.7573 MB / 3.618 GB, free: 38.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003447/11.94, allocations: 340.5 kB / 3.618 GB, free: 38.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/11.96, allocations: 3.792 MB / 3.622 GB, free: 35.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009723/11.96, allocations: 1.344 MB / 3.623 GB, free: 34.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/11.96, allocations: 0.6515 MB / 3.624 GB, free: 33.93 MB / 0.4948 GB Notification: Performance of SimCode: time 1.654e-06/11.96, allocations: 0 / 3.624 GB, free: 33.93 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.811/18.77, allocations: 124.5 MB / 3.746 GB, free: 53.87 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat does not exist to compare? outputFormat=mat