Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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) 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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01116/0.01116, allocations: 107.6 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001213/0.001213, allocations: 179.5 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.054/2.054, allocations: 194.6 MB / 211.3 MB, free: 11.21 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.297/0.297, allocations: 40.05 MB / 296.5 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006885/0.0006887, allocations: 12 kB / 361.2 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1373, allocations: 54.88 MB / 416 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.06236/0.1997, allocations: 34.32 MB / 450.4 MB, free: 168 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.319/0.5188, allocations: 4.129 MB / 454.5 MB, free: 31.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.5199, allocations: 31.69 kB / 454.5 MB, free: 31.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.5211, allocations: 263.4 kB / 454.8 MB, free: 31.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002916/0.524, allocations: 0.6938 MB / 455.5 MB, free: 31.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003205/0.5272, allocations: 0.6992 MB / 456.2 MB, free: 31.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002258/0.5295, allocations: 1.026 MB / 457.2 MB, free: 31.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008811/0.5305, allocations: 380.6 kB / 457.6 MB, free: 31.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2028/0.7333, allocations: 72.46 MB / 0.5176 GB, free: 13.45 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04038/0.7737, allocations: 13.31 MB / 0.5306 GB, free: 1.148 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002649/0.7741, allocations: 32 kB / 0.5306 GB, free: 1.117 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05565/0.8297, allocations: 18.47 MB / 0.5487 GB, free: 15.86 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006431/0.8304, allocations: 209 kB / 0.5489 GB, free: 15.73 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004239/0.8309, allocations: 164 kB / 0.549 GB, free: 15.62 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.8327, allocations: 0.7588 MB / 0.5498 GB, free: 14.99 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8328, allocations: 0 / 0.5498 GB, free: 14.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.8328, allocations: 4 kB / 0.5498 GB, free: 14.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.437e-05/0.8328, allocations: 0 / 0.5498 GB, free: 14.98 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003114/0.836, allocations: 0.9234 MB / 0.5507 GB, free: 14.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.836, allocations: 8.031 kB / 0.5507 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002153/0.8363, allocations: 99.67 kB / 0.5508 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004904/0.8368, allocations: 90.22 kB / 0.5509 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.838, allocations: 0.4927 MB / 0.5513 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.8382, allocations: 110.1 kB / 0.5514 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.8384, allocations: 48.94 kB / 0.5515 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.8404, allocations: 0.8081 MB / 0.5523 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-05/0.8405, allocations: 7 kB / 0.5523 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.8406, allocations: 25.23 kB / 0.5523 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-05/0.8407, allocations: 41.92 kB / 0.5524 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.8425, allocations: 0.6387 MB / 0.553 GB, free: 12.23 MB / 426.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.007683/0.8502, allocations: 4.221 MB / 0.5571 GB, free: 8.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.8517, allocations: 408.2 kB / 0.5575 GB, free: 8.078 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007068/0.8525, allocations: 0.4955 MB / 0.558 GB, free: 7.477 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.8525, allocations: 36.83 kB / 0.558 GB, free: 7.438 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 3.547e-06/0.8525, allocations: 4 kB / 0.558 GB, free: 7.434 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.005391/0.8579, allocations: 1.507 MB / 0.5595 GB, free: 6.105 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.8581, allocations: 143.4 kB / 0.5596 GB, free: 5.938 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.8592, allocations: 0.5497 MB / 0.5602 GB, free: 5.379 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.8593, allocations: 35.48 kB / 0.5602 GB, free: 5.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003854/0.8597, allocations: 366.4 kB / 0.5605 GB, free: 4.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.8599, allocations: 167 kB / 0.5607 GB, free: 4.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.86, allocations: 12 kB / 0.5607 GB, free: 4.809 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.8602, allocations: 374.8 kB / 0.5611 GB, free: 4.434 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006764/0.8609, allocations: 221.9 kB / 0.5613 GB, free: 4.219 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009098/0.8618, allocations: 0.5364 MB / 0.5618 GB, free: 3.539 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008797/0.8627, allocations: 331.5 kB / 0.5621 GB, free: 3.227 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.8628, allocations: 4 kB / 0.5621 GB, free: 3.223 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003333/0.8661, allocations: 0.9722 MB / 0.5631 GB, free: 2.309 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.8662, allocations: 12 kB / 0.5631 GB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/0.8662, allocations: 8 kB / 0.5631 GB, free: 2.289 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001829/0.8681, allocations: 262.7 kB / 0.5633 GB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008982/0.869, allocations: 131.5 kB / 0.5635 GB, free: 1.914 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.8706, allocations: 0.8583 MB / 0.5643 GB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009784/0.8716, allocations: 55.8 kB / 0.5644 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.8717, allocations: 35.98 kB / 0.5644 GB, free: 0.9492 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005252/0.8722, allocations: 251 kB / 0.5646 GB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.8724, allocations: 67.2 kB / 0.5647 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.8746, allocations: 0.7038 MB / 0.5654 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.8747, allocations: 4 kB / 0.5654 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.8747, allocations: 0 / 0.5654 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.8747, allocations: 8.016 kB / 0.5654 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00351/0.8782, allocations: 1.389 MB / 0.5668 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.336e-05/0.8783, allocations: 4.219 kB / 0.5668 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00194/0.8803, allocations: 197.6 kB / 0.5669 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005157/0.8808, allocations: 60.78 kB / 0.567 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.132e-05/0.8809, allocations: 16 kB / 0.567 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003647/0.8846, allocations: 2.796 MB / 0.5698 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/0.8846, allocations: 4.031 kB / 0.5698 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/0.8874, allocations: 1.081 MB / 0.5708 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004881/0.8879, allocations: 204.2 kB / 0.571 GB, free: 9.797 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.8881, allocations: 16 kB / 0.571 GB, free: 9.781 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006992/0.8888, allocations: 23.98 kB / 0.571 GB, free: 9.758 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.8889, allocations: 38.62 kB / 0.5711 GB, free: 9.723 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.266e-05/0.889, allocations: 27.98 kB / 0.5711 GB, free: 9.695 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007451/0.8898, allocations: 378.8 kB / 0.5715 GB, free: 9.328 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.8898, allocations: 0 / 0.5715 GB, free: 9.328 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001201/0.891, allocations: 215.9 kB / 0.5717 GB, free: 9.117 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003752/0.8948, allocations: 2.202 MB / 0.5738 GB, free: 6.867 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001926/0.8967, allocations: 0.6098 MB / 0.5744 GB, free: 6.289 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.8968, allocations: 4 kB / 0.5744 GB, free: 6.285 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002052/0.8988, allocations: 482 kB / 0.5749 GB, free: 5.816 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/0.9014, allocations: 307 kB / 0.5752 GB, free: 5.531 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.9152, allocations: 11.08 MB / 0.586 GB, free: 10.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007253/0.916, allocations: 0.9492 MB / 0.5869 GB, free: 9.258 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001271/0.9172, allocations: 212 kB / 0.5871 GB, free: 9.059 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005144/0.9178, allocations: 231.4 kB / 0.5873 GB, free: 8.832 MB / 458.7 MB Notification: Performance of SimCode: time 1.052e-06/0.9178, allocations: 0 / 0.5873 GB, free: 8.832 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06499/0.9828, allocations: 19.4 MB / 0.6063 GB, free: 5.609 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000379/0.9832, allocations: 283.5 kB / 0.6066 GB, free: 5.258 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.214/4.198, allocations: 3.938 kB / 0.6066 GB, free: 5.254 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat