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.ParallelCooling.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.ParallelCooling,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.045/2.045, allocations: 194.9 MB / 211.1 MB, free: 7.598 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005396/0.0005395, allocations: 8 kB / 264.1 MB, free: 2.52 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3515, allocations: 44.49 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1513/0.5028, allocations: 76.76 MB / 385.3 MB, free: 15.81 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003595/0.5033, allocations: 75.89 kB / 385.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09681/0.6001, allocations: 15.55 MB / 400.9 MB, free: 76 kB / 330.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.6002, allocations: 0 / 400.9 MB, free: 76 kB / 330.7 MB Notification: Performance of Transformations before backend: time 8.095e-05/0.6003, allocations: 16 kB / 401 MB, free: 60 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: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.004799/0.6051, allocations: 1.131 MB / 402.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.522e-05/0.6052, allocations: 16.03 kB / 402.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005113/0.6058, allocations: 115.7 kB / 402.2 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004059/0.6062, allocations: 111.2 kB / 402.3 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.6082, allocations: 0.4999 MB / 402.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004212/0.6086, allocations: 150.4 kB / 403 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/0.6089, allocations: 67.84 kB / 403 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003173/0.6121, allocations: 0.8478 MB / 403.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.6122, allocations: 0 / 403.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/0.6124, allocations: 28 kB / 403.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.6124, allocations: 20 kB / 403.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003191/0.6157, allocations: 0.579 MB / 404.5 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008059/0.6238, allocations: 2.103 MB / 406.6 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005328/0.6292, allocations: 1.024 MB / 407.6 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/0.6294, allocations: 20.7 kB / 407.7 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.514e-05/0.6295, allocations: 55.17 kB / 407.7 MB, free: 8.883 MB / 346.7 MB Notification: Performance of pre-optimization done (n=74): time 6.201e-06/0.6295, allocations: 0 / 407.7 MB, free: 8.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.01326/0.6428, allocations: 1.846 MB / 409.6 MB, free: 6.949 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005631/0.6434, allocations: 0.8272 MB / 410.4 MB, free: 5.926 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.6451, allocations: 0.5386 MB / 410.9 MB, free: 5.383 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002835/0.6454, allocations: 37.7 kB / 411 MB, free: 5.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005039/0.646, allocations: 325 kB / 411.3 MB, free: 5.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005081/0.6465, allocations: 260.2 kB / 411.5 MB, free: 4.762 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.073e-05/0.6466, allocations: 15.94 kB / 411.5 MB, free: 4.746 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002916/0.6469, allocations: 382.8 kB / 411.9 MB, free: 4.363 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.6485, allocations: 261.9 kB / 412.2 MB, free: 4.109 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001983/0.6505, allocations: 0.5257 MB / 412.7 MB, free: 3.488 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/0.6523, allocations: 384 kB / 413.1 MB, free: 3.094 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.6523, allocations: 4 kB / 413.1 MB, free: 3.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.007289/0.6596, allocations: 1.102 MB / 414.2 MB, free: 1.949 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.218e-05/0.6598, allocations: 87.61 kB / 414.3 MB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.6598, allocations: 0 / 414.3 MB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.661, allocations: 252.8 kB / 414.5 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.6622, allocations: 131.8 kB / 414.6 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2735/0.9357, allocations: 6.569 MB / 421.2 MB, free: 86.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.9372, allocations: 104.6 kB / 421.3 MB, free: 86.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.9374, allocations: 24.55 kB / 421.3 MB, free: 86.38 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * 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 {3 3,1 3,1 1,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006688/0.9381, allocations: 210.2 kB / 421.5 MB, free: 86.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003476/0.9384, allocations: 86.72 kB / 421.6 MB, free: 86.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.9388, allocations: 91 kB / 421.7 MB, free: 86.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.9388, allocations: 7.375 kB / 421.7 MB, free: 86.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/0.9388, allocations: 4.641 kB / 421.7 MB, free: 86.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003975/0.9428, allocations: 1.256 MB / 423 MB, free: 85.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00556/0.9484, allocations: 1.913 MB / 424.9 MB, free: 85.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.9485, allocations: 2.375 kB / 424.9 MB, free: 85.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/0.9497, allocations: 134.4 kB / 425 MB, free: 85.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008916/0.9506, allocations: 216.4 kB / 425.2 MB, free: 85.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.729e-05/0.9507, allocations: 15.42 kB / 425.3 MB, free: 85.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009236/0.96, allocations: 5.125 MB / 430.4 MB, free: 81.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.96, allocations: 0 / 430.4 MB, free: 81.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00478/0.9648, allocations: 1.389 MB / 431.8 MB, free: 81.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/0.9652, allocations: 171.8 kB / 431.9 MB, free: 80.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/0.9654, allocations: 21.39 kB / 432 MB, free: 80.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008005/0.9663, allocations: 44.45 kB / 432 MB, free: 80.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.9665, allocations: 62.95 kB / 432.1 MB, free: 80.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-05/0.9666, allocations: 20.53 kB / 432.1 MB, free: 80.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007173/0.9673, allocations: 437.5 kB / 432.5 MB, free: 80.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.9673, allocations: 0 / 432.5 MB, free: 80.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001205/0.9685, allocations: 286.5 kB / 432.8 MB, free: 80.64 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * 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 (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005161/0.9737, allocations: 1.973 MB / 434.8 MB, free: 79.53 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002904/0.9767, allocations: 1.328 MB / 436.1 MB, free: 78.65 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/0.9767, allocations: 3.406 kB / 436.1 MB, free: 78.65 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002857/0.9796, allocations: 0.7626 MB / 436.9 MB, free: 78.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.9812, allocations: 192.7 kB / 437 MB, free: 78.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005098/0.9863, allocations: 2.482 MB / 439.5 MB, free: 76.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.9868, allocations: 0.9467 MB / 440.5 MB, free: 75.88 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006488/0.9875, allocations: 91.84 kB / 440.6 MB, free: 75.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008742/0.9883, allocations: 289 kB / 440.8 MB, free: 75.65 MB / 346.7 MB Notification: Performance of SimCode: time 1.913e-06/0.9884, allocations: 0 / 440.8 MB, free: 75.65 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06624/1.055, allocations: 21.67 MB / 462.5 MB, free: 56.98 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/1.055, allocations: 218.9 kB / 462.7 MB, free: 56.74 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.797/4.852, allocations: 0 / 462.7 MB, free: 56.74 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat