Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.044/2.044, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003554, allocations: 12 kB / 264.1 MB, free: 3.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2988, allocations: 44.51 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.4369, allocations: 78.21 MB / 386.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.4372, allocations: 71.97 kB / 386.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06249/0.4998, allocations: 13.83 MB / 400.7 MB, free: 380 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4998, allocations: 0 / 400.7 MB, free: 380 kB / 330.7 MB Notification: Performance of Transformations before backend: time 5.361e-05/0.4999, allocations: 15.98 kB / 400.7 MB, free: 364 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002852/0.5027, allocations: 0.989 MB / 401.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.5028, allocations: 8.031 kB / 401.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002791/0.5031, allocations: 91.52 kB / 401.8 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002461/0.5034, allocations: 87.06 kB / 401.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009978/0.5044, allocations: 455.6 kB / 402.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/0.5046, allocations: 96.39 kB / 402.4 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.5047, allocations: 48 kB / 402.5 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.5066, allocations: 0.6639 MB / 403.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.5067, allocations: 3.938 kB / 403.1 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.63e-05/0.5068, allocations: 27.94 kB / 403.2 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.5068, allocations: 12 kB / 403.2 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.5087, allocations: 499.6 kB / 403.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004925/0.5137, allocations: 1.886 MB / 405.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003709/0.5174, allocations: 0.7538 MB / 406.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.672e-05/0.5176, allocations: 16.55 kB / 406.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.416e-05/0.5176, allocations: 51.06 kB / 406.4 MB, free: 10.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=56): time 3.727e-06/0.5176, allocations: 3.938 kB / 406.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=56): time 0.009263/0.5269, allocations: 1.61 MB / 408 MB, free: 8.664 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003172/0.5273, allocations: 0.5645 MB / 408.5 MB, free: 7.965 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009355/0.5282, allocations: 470.1 kB / 409 MB, free: 7.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.5284, allocations: 41.7 kB / 409 MB, free: 7.453 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.5287, allocations: 276.7 kB / 409.3 MB, free: 7.176 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.529, allocations: 193.1 kB / 409.5 MB, free: 6.984 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.529, allocations: 8 kB / 409.5 MB, free: 6.977 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.5292, allocations: 378.7 kB / 409.9 MB, free: 6.598 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009449/0.5302, allocations: 213 kB / 410.1 MB, free: 6.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.5314, allocations: 428.6 kB / 410.5 MB, free: 5.891 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.5325, allocations: 275.9 kB / 410.8 MB, free: 5.613 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.5325, allocations: 0 / 410.8 MB, free: 5.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004113/0.5366, allocations: 0.8693 MB / 411.6 MB, free: 4.723 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/0.5367, allocations: 29.7 kB / 411.7 MB, free: 4.688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.5367, allocations: 4 kB / 411.7 MB, free: 4.684 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.5383, allocations: 234.4 kB / 411.9 MB, free: 4.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.5398, allocations: 135.8 kB / 412 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.294/0.8338, allocations: 5.246 MB / 417.3 MB, free: 91.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.835, allocations: 87.41 kB / 417.4 MB, free: 91.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.148e-05/0.8351, allocations: 20.95 kB / 417.4 MB, free: 91.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004742/0.8356, allocations: 197.4 kB / 417.6 MB, free: 91.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.8358, allocations: 66.28 kB / 417.6 MB, free: 91.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004295/0.8401, allocations: 0.8397 MB / 418.5 MB, free: 91.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.8402, allocations: 5.812 kB / 418.5 MB, free: 91.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.8402, allocations: 0.5 kB / 418.5 MB, free: 91.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003729/0.8439, allocations: 1.098 MB / 419.6 MB, free: 90.58 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005048/0.849, allocations: 1.587 MB / 421.2 MB, free: 90.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.8491, allocations: 0 / 421.2 MB, free: 90.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/0.8506, allocations: 138.5 kB / 421.3 MB, free: 90.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001258/0.8518, allocations: 184.4 kB / 421.5 MB, free: 90.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.452e-05/0.8519, allocations: 13.09 kB / 421.5 MB, free: 90.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00741/0.8593, allocations: 3.603 MB / 425.1 MB, free: 87.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8594, allocations: 3.438 kB / 425.1 MB, free: 87.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004583/0.864, allocations: 1.153 MB / 426.3 MB, free: 87.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003686/0.8644, allocations: 202.5 kB / 426.5 MB, free: 87.29 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.8645, allocations: 11.28 kB / 426.5 MB, free: 87.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000718/0.8653, allocations: 51.92 kB / 426.5 MB, free: 87.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.8654, allocations: 45.08 kB / 426.6 MB, free: 87.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.735e-05/0.8655, allocations: 12.69 kB / 426.6 MB, free: 87.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005729/0.8661, allocations: 376 kB / 426.9 MB, free: 87.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8661, allocations: 3.844 kB / 426.9 MB, free: 87.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009724/0.8671, allocations: 222.2 kB / 427.2 MB, free: 87.2 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * 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 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.004799/0.8719, allocations: 1.727 MB / 428.9 MB, free: 86.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003114/0.875, allocations: 1.035 MB / 429.9 MB, free: 85.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.875, allocations: 0 / 429.9 MB, free: 85.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.8768, allocations: 0.5607 MB / 430.5 MB, free: 85.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.8781, allocations: 159.5 kB / 430.6 MB, free: 85.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/0.8822, allocations: 2.561 MB / 433.2 MB, free: 83.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.8826, allocations: 0.8956 MB / 434.1 MB, free: 82.72 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005396/0.8831, allocations: 74.69 kB / 434.2 MB, free: 82.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004476/0.8836, allocations: 226.4 kB / 434.4 MB, free: 82.55 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.8836, allocations: 0 / 434.4 MB, free: 82.55 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1435/1.027, allocations: 17.61 MB / 452 MB, free: 68.32 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/1.027, allocations: 211.7 kB / 452.2 MB, free: 68.08 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.567/4.594, allocations: 7.938 kB / 452.2 MB, free: 68.07 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat does not exist to compare? outputFormat=mat