Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.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) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.693/1.693, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003792, allocations: 8 kB / 233.3 MB, free: 2.93 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08494/0.08536, allocations: 38.77 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8694/0.9548, allocations: 272 MB / 0.5314 GB, free: 44.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.9551, allocations: 82.47 kB / 0.5315 GB, free: 44.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.08/11.04, allocations: 1.636 GB / 2.167 GB, free: 14.56 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.956e-06/11.04, allocations: 0 / 2.167 GB, free: 14.56 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001083/11.04, allocations: 191.6 kB / 2.167 GB, free: 14.53 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: 1492 * Number of variables: 1492 Notification: Performance of Generate backend data structure: time 0.05634/11.09, allocations: 11.09 MB / 2.178 GB, free: 9.699 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/11.09, allocations: 9.562 kB / 2.178 GB, free: 9.699 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005654/11.1, allocations: 0.7861 MB / 2.179 GB, free: 9.625 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01462/11.11, allocations: 1.249 MB / 2.18 GB, free: 9.223 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03071/11.14, allocations: 6.352 MB / 2.186 GB, free: 8.203 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000958/11.15, allocations: 431.5 kB / 2.187 GB, free: 8.191 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00385/11.15, allocations: 0.5358 MB / 2.187 GB, free: 8.188 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03866/11.19, allocations: 9.441 MB / 2.197 GB, free: 6.742 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004158/11.19, allocations: 20.94 kB / 2.197 GB, free: 6.742 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004035/11.19, allocations: 247.6 kB / 2.197 GB, free: 6.742 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001571/11.19, allocations: 0.5903 MB / 2.197 GB, free: 6.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03158/11.23, allocations: 8.128 MB / 2.205 GB, free: 6.684 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.1023/11.33, allocations: 34.92 MB / 2.239 GB, free: 7.707 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02035/11.35, allocations: 6.167 MB / 2.245 GB, free: 7.609 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009731/11.36, allocations: 4.759 MB / 2.25 GB, free: 2.637 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/11.36, allocations: 95.45 kB / 2.25 GB, free: 2.594 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01261/11.37, allocations: 1.674 MB / 2.252 GB, free: 2.328 MB / 474.7 MB Notification: Performance of pre-optimization done (n=500): time 3.205e-05/11.37, allocations: 0 / 2.252 GB, free: 2.328 MB / 474.7 MB Notification: Performance of matching and sorting (n=632): time 0.3214/11.69, allocations: 50.79 MB / 2.301 GB, free: 9.066 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/11.69, allocations: 167.8 kB / 2.302 GB, free: 8.875 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01289/11.71, allocations: 4.173 MB / 2.306 GB, free: 5.402 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002768/11.71, allocations: 144.8 kB / 2.306 GB, free: 5.258 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004006/11.71, allocations: 2.64 MB / 2.308 GB, free: 2.789 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00502/11.72, allocations: 2.16 MB / 2.31 GB, free: 0.832 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001991/11.72, allocations: 146.6 kB / 2.311 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007656/11.72, allocations: 0.5991 MB / 2.311 GB, free: 172 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03364/11.75, allocations: 5.138 MB / 2.316 GB, free: 0 / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4864/12.24, allocations: 5.608 MB / 2.322 GB, free: 38.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01579/12.26, allocations: 4.86 MB / 2.326 GB, free: 38.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-05/12.26, allocations: 13.44 kB / 2.326 GB, free: 38.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.04586/12.3, allocations: 12.15 MB / 2.338 GB, free: 38.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.004214/12.31, allocations: 17.68 MB / 2.356 GB, free: 19.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002355/12.31, allocations: 48.05 kB / 2.356 GB, free: 19.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05268/12.36, allocations: 5.178 MB / 2.361 GB, free: 19.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0118/12.37, allocations: 1.366 MB / 2.362 GB, free: 19.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0211/12.39, allocations: 17.41 MB / 2.379 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01395/12.41, allocations: 0.5034 MB / 2.38 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003262/12.41, allocations: 423.4 kB / 2.38 GB, free: 7.648 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/12.41, allocations: 4.344 kB / 2.38 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04702/12.46, allocations: 12 MB / 2.392 GB, free: 7.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001847/12.46, allocations: 44.41 kB / 2.392 GB, free: 7.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01652/12.47, allocations: 2.98 MB / 2.395 GB, free: 7.062 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01211/12.49, allocations: 1.394 MB / 2.396 GB, free: 7.043 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03382/12.52, allocations: 22.1 MB / 2.418 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/12.53, allocations: 0.4891 MB / 2.418 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003107/12.53, allocations: 416.1 kB / 2.418 GB, free: 10.25 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * 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 (757): * Single equations (assignments): 734 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,9 42} Notification: Performance of prepare postOptimizeDAE: time 0.01041/12.54, allocations: 1.929 MB / 2.42 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003739/12.55, allocations: 0.6429 MB / 2.421 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05225/12.6, allocations: 13.48 MB / 2.434 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001141/12.6, allocations: 67.25 kB / 2.434 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.699e-05/12.6, allocations: 1.422 kB / 2.434 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03419/12.63, allocations: 9.664 MB / 2.444 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08267/12.72, allocations: 24.81 MB / 2.468 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001005/12.72, allocations: 18.31 kB / 2.468 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008093/12.73, allocations: 0.876 MB / 2.469 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0468/12.77, allocations: 5.448 MB / 2.474 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002221/12.78, allocations: 227.2 kB / 2.474 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02212/12.8, allocations: 17.4 MB / 2.491 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-05/12.8, allocations: 25.31 kB / 2.491 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05873/12.86, allocations: 19.31 MB / 2.51 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4847/13.34, allocations: 1.716 MB / 2.512 GB, free: 84.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004056/13.34, allocations: 165.1 kB / 2.512 GB, free: 84.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.011/13.36, allocations: 330.5 kB / 2.512 GB, free: 84.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002664/13.36, allocations: 463.3 kB / 2.513 GB, free: 84.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002059/13.36, allocations: 324.6 kB / 2.513 GB, free: 84.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009326/13.37, allocations: 3.134 MB / 2.516 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.5e-07/13.37, allocations: 3.531 kB / 2.516 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.03561/13.41, allocations: 5.859 MB / 2.522 GB, free: 84.34 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 22 (pipe1.mediums[1].T,pipe1.mediums[2].T,pipe2.mediums[1].T,pipe2.mediums[2].T,pipe3.mediums[1].T,pipe3.mediums[2].T,pipe4.mediums[1].T,pipe4.mediums[2].T,pipe6.mediums[1].T,pipe6.mediums[2].T,pipe7.mediums[1].T,pipe7.mediums[2].T,pipe8.mediums[1].T,pipe8.mediums[2].T,pipe9.mediums[1].T,pipe9.mediums[2].T,pipe10.mediums[1].T,pipe10.mediums[2].T,pipe5.mediums[1].T,pipe5.mediums[2].T,pipe11.mediums[1].T,pipe11.mediums[2].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 (500): * Single equations (assignments): 477 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,10 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.07276/13.48, allocations: 26.5 MB / 2.548 GB, free: 76.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.05167/13.53, allocations: 15.64 MB / 2.563 GB, free: 76.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.724e-05/13.53, allocations: 7.719 kB / 2.563 GB, free: 76.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01744/13.55, allocations: 4.874 MB / 2.568 GB, free: 76 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02354/13.57, allocations: 2.583 MB / 2.57 GB, free: 75.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08/13.65, allocations: 58.34 MB / 2.627 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00975/13.66, allocations: 4.437 MB / 2.632 GB, free: 31.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01055/13.67, allocations: 3.246 MB / 2.635 GB, free: 31.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.733e-06/13.67, allocations: 2.156 kB / 2.635 GB, free: 31.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 11.12/24.79, allocations: 0.7619 GB / 3.397 GB, free: 83.86 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat does not exist to compare? outputFormat=mat