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.Water.IdealSteam.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.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",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.0177/0.01771, allocations: 107.2 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.001868/0.001868, allocations: 182.4 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.032/2.032, allocations: 194.6 MB / 211.3 MB, free: 11 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.2657/0.2657, allocations: 40.04 MB / 296.5 MB, free: 6.281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004719, allocations: 12 kB / 361.2 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.113, allocations: 54.88 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.5634/0.6765, allocations: 142.5 MB / 0.5454 GB, free: 6.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01436/0.6909, allocations: 7.26 MB / 0.5525 GB, free: 1.234 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.6921, allocations: 26.59 kB / 0.5525 GB, free: 1.219 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.6932, allocations: 265.2 kB / 0.5528 GB, free: 1.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005108/0.6984, allocations: 1.268 MB / 0.554 GB, free: 336 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004168/0.7026, allocations: 0.9836 MB / 0.555 GB, free: 15.72 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002267/0.7048, allocations: 1.043 MB / 0.556 GB, free: 14.68 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008002/0.7057, allocations: 388 kB / 0.5564 GB, free: 14.3 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00264/0.7083, allocations: 0.7362 MB / 0.5571 GB, free: 13.56 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002587/0.7109, allocations: 0.5489 MB / 0.5576 GB, free: 13.01 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003372/0.7114, allocations: 32 kB / 0.5577 GB, free: 12.98 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003978/0.7154, allocations: 0.632 MB / 0.5583 GB, free: 12.35 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007622/0.7162, allocations: 211.4 kB / 0.5585 GB, free: 12.14 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004072/0.7166, allocations: 165.3 kB / 0.5587 GB, free: 11.97 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003185/0.7198, allocations: 0.9806 MB / 0.5596 GB, free: 11 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7199, allocations: 0 / 0.5596 GB, free: 11 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.7199, allocations: 0 / 0.5596 GB, free: 11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.962e-05/0.7199, allocations: 4 kB / 0.5596 GB, free: 11 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.003144/0.7231, allocations: 0.9886 MB / 0.5606 GB, free: 9.957 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.7232, allocations: 8.031 kB / 0.5606 GB, free: 9.949 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002049/0.7234, allocations: 110.4 kB / 0.5607 GB, free: 9.832 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.7245, allocations: 127.7 kB / 0.5608 GB, free: 9.707 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.7257, allocations: 496.6 kB / 0.5613 GB, free: 9.184 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.7259, allocations: 108.3 kB / 0.5614 GB, free: 9.062 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.726, allocations: 44 kB / 0.5614 GB, free: 9.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.728, allocations: 0.8174 MB / 0.5622 GB, free: 8.125 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.7281, allocations: 4 kB / 0.5622 GB, free: 8.121 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.7282, allocations: 20 kB / 0.5623 GB, free: 8.102 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.925e-05/0.7283, allocations: 36.98 kB / 0.5623 GB, free: 8.066 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.7301, allocations: 0.6243 MB / 0.5629 GB, free: 7.441 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.006496/0.7366, allocations: 3.93 MB / 0.5667 GB, free: 3.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009116/0.7375, allocations: 343.4 kB / 0.5671 GB, free: 2.926 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.7376, allocations: 24.92 kB / 0.5671 GB, free: 2.902 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.7377, allocations: 42.84 kB / 0.5671 GB, free: 2.852 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 2.875e-06/0.7377, allocations: 0 / 0.5671 GB, free: 2.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.009194/0.7469, allocations: 1.639 MB / 0.5687 GB, free: 1.145 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.538e-05/0.747, allocations: 136.5 kB / 0.5689 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.7481, allocations: 0.5859 MB / 0.5694 GB, free: 392 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.745e-05/0.7482, allocations: 41.7 kB / 0.5695 GB, free: 344 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003815/0.7486, allocations: 382.8 kB / 0.5698 GB, free: 15.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.7488, allocations: 145.9 kB / 0.57 GB, free: 15.81 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/0.7488, allocations: 16 kB / 0.57 GB, free: 15.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.749, allocations: 374.8 kB / 0.5703 GB, free: 15.42 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005942/0.7496, allocations: 197.9 kB / 0.5705 GB, free: 15.22 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000864/0.7505, allocations: 0.5353 MB / 0.5711 GB, free: 14.53 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008186/0.7513, allocations: 296.8 kB / 0.5713 GB, free: 14.24 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.7514, allocations: 4 kB / 0.5713 GB, free: 14.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00238/0.7538, allocations: 0.8875 MB / 0.5722 GB, free: 13.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.7538, allocations: 12.19 kB / 0.5722 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.7538, allocations: 19.98 kB / 0.5722 GB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002298/0.7561, allocations: 303.5 kB / 0.5725 GB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007679/0.7569, allocations: 131.8 kB / 0.5727 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.7586, allocations: 0.8997 MB / 0.5735 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009061/0.7595, allocations: 42.05 kB / 0.5736 GB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.7597, allocations: 71.98 kB / 0.5736 GB, free: 11.85 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (72): * Single equations (assignments): 71 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005293/0.7602, allocations: 253.5 kB / 0.5739 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.7604, allocations: 71.09 kB / 0.574 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.7628, allocations: 0.6799 MB / 0.5746 GB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.7629, allocations: 4 kB / 0.5746 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.7629, allocations: 4 kB / 0.5746 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.7629, allocations: 7.938 kB / 0.5746 GB, free: 10.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/0.7659, allocations: 1.262 MB / 0.5759 GB, free: 9.457 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.7659, allocations: 8.031 kB / 0.5759 GB, free: 9.449 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002045/0.768, allocations: 203.8 kB / 0.5761 GB, free: 9.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001329/0.7682, allocations: 24.84 kB / 0.5761 GB, free: 9.223 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.214e-05/0.7682, allocations: 23.98 kB / 0.5761 GB, free: 9.199 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/0.7711, allocations: 2.691 MB / 0.5787 GB, free: 6.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.7712, allocations: 3.984 kB / 0.5787 GB, free: 6.246 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.7733, allocations: 0.8595 MB / 0.5796 GB, free: 5.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003978/0.7737, allocations: 184.2 kB / 0.5798 GB, free: 5.121 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.7739, allocations: 12 kB / 0.5798 GB, free: 5.109 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007/0.7746, allocations: 23.97 kB / 0.5798 GB, free: 5.086 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.7747, allocations: 43.97 kB / 0.5798 GB, free: 5.043 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.7748, allocations: 43.98 kB / 0.5799 GB, free: 5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007783/0.7756, allocations: 415 kB / 0.5803 GB, free: 4.598 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.284e-06/0.7757, allocations: 0 / 0.5803 GB, free: 4.598 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001464/0.7771, allocations: 291.9 kB / 0.5806 GB, free: 4.312 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003806/0.781, allocations: 1.998 MB / 0.5825 GB, free: 2.258 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001897/0.7829, allocations: 0.553 MB / 0.583 GB, free: 1.703 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.7829, allocations: 5.5 kB / 0.5831 GB, free: 1.699 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001761/0.7847, allocations: 404.2 kB / 0.5834 GB, free: 1.293 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/0.7874, allocations: 321 kB / 0.5837 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/0.8005, allocations: 11.4 MB / 0.5949 GB, free: 5.305 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.8016, allocations: 0.9494 MB / 0.5958 GB, free: 4.328 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002642/0.8042, allocations: 262.3 kB / 0.5961 GB, free: 4.078 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/0.8055, allocations: 271.3 kB / 0.5963 GB, free: 3.812 MB / 458.7 MB Notification: Performance of SimCode: time 1.323e-06/0.8055, allocations: 4 kB / 0.5963 GB, free: 3.809 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3627/1.168, allocations: 23.06 MB / 0.6188 GB, free: 151.2 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/1.168, allocations: 281.2 kB / 0.6191 GB, free: 150.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.438/4.606, allocations: 0 / 0.6191 GB, free: 150.9 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat