Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.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.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",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.01119/0.01119, allocations: 107.5 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.001195/0.001195, allocations: 181.8 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.063/2.063, allocations: 194.6 MB / 211.3 MB, free: 11.27 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.2708/0.2708, allocations: 40.04 MB / 296.5 MB, free: 6.492 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004919/0.0004923, allocations: 19.98 kB / 361.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.119, allocations: 54.88 MB / 416 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.3918/0.5108, allocations: 47.68 MB / 463.7 MB, free: 32.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0408/0.5517, allocations: 25.97 MB / 489.7 MB, free: 23.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.5535, allocations: 38.75 kB / 489.7 MB, free: 23.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002531/0.556, allocations: 0.5791 MB / 490.3 MB, free: 22.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01876/0.5748, allocations: 4.547 MB / 494.8 MB, free: 20.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01341/0.5882, allocations: 3.181 MB / 498 MB, free: 18.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004184/0.5925, allocations: 1.796 MB / 499.8 MB, free: 17.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/0.5942, allocations: 0.6796 MB / 0.4888 GB, free: 17.51 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02949/0.6237, allocations: 9.527 MB / 0.4981 GB, free: 16.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03338/0.6572, allocations: 11.93 MB / 0.5097 GB, free: 12.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005066/0.6577, allocations: 60 kB / 0.5098 GB, free: 12.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02827/0.686, allocations: 8.106 MB / 0.5177 GB, free: 5.645 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009952/0.6871, allocations: 327 kB / 0.518 GB, free: 5.324 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000802/0.6879, allocations: 265.1 kB / 0.5183 GB, free: 5.059 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01359/0.7015, allocations: 4.288 MB / 0.5224 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7016, allocations: 0 / 0.5224 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.337e-06/0.7016, allocations: 0 / 0.5224 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.538e-05/0.7017, allocations: 0 / 0.5224 GB, free: 0.7656 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.009933/0.7116, allocations: 2.022 MB / 0.5244 GB, free: 14.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/0.7117, allocations: 8.031 kB / 0.5244 GB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006125/0.7123, allocations: 168.3 kB / 0.5246 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.7233, allocations: 0.6464 MB / 0.5252 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003087/0.7264, allocations: 0.7568 MB / 0.526 GB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004199/0.7269, allocations: 208.8 kB / 0.5262 GB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004465/0.7274, allocations: 107.9 kB / 0.5263 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009628/0.7371, allocations: 1.834 MB / 0.5281 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-05/0.7372, allocations: 3.938 kB / 0.5281 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002956/0.7375, allocations: 51.98 kB / 0.5281 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/0.7376, allocations: 41.98 kB / 0.5281 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009593/0.7472, allocations: 1.686 MB / 0.5298 GB, free: 8.973 MB / 394.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.01565/0.7629, allocations: 8.447 MB / 0.538 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00476/0.7678, allocations: 0.9377 MB / 0.539 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2258/0.9936, allocations: 58.09 MB / 0.5957 GB, free: 13.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.956e-05/0.9938, allocations: 47.06 kB / 0.5957 GB, free: 13.82 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001111/0.9949, allocations: 99.03 kB / 0.5958 GB, free: 13.73 MB / 474.7 MB Notification: Performance of pre-optimization done (n=69): time 7.965e-06/0.995, allocations: 0 / 0.5958 GB, free: 13.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=77): time 0.01999/1.015, allocations: 3.342 MB / 0.5991 GB, free: 10.31 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/1.015, allocations: 111.5 kB / 0.5992 GB, free: 10.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/1.017, allocations: 0.7935 MB / 0.6 GB, free: 9.379 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002017/1.017, allocations: 41.7 kB / 0.6 GB, free: 9.332 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006389/1.018, allocations: 0.5907 MB / 0.6006 GB, free: 8.73 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004292/1.018, allocations: 284.1 kB / 0.6009 GB, free: 8.449 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/1.018, allocations: 24 kB / 0.6009 GB, free: 8.426 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002437/1.019, allocations: 402.7 kB / 0.6013 GB, free: 8.023 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/1.02, allocations: 419.7 kB / 0.6017 GB, free: 7.613 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/1.023, allocations: 1.036 MB / 0.6027 GB, free: 6.277 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/1.025, allocations: 0.5863 MB / 0.6032 GB, free: 5.691 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-05/1.025, allocations: 7.953 kB / 0.6033 GB, free: 5.684 MB / 474.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.006292/1.031, allocations: 1.736 MB / 0.605 GB, free: 3.934 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/1.031, allocations: 16 kB / 0.605 GB, free: 3.918 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.553e-05/1.031, allocations: 20 kB / 0.605 GB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0048/1.036, allocations: 0.6197 MB / 0.6056 GB, free: 3.273 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/1.038, allocations: 255.6 kB / 0.6058 GB, free: 3.023 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003736/1.041, allocations: 1.807 MB / 0.6076 GB, free: 1.168 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/1.043, allocations: 127.7 kB / 0.6077 GB, free: 1.043 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002584/1.044, allocations: 83.98 kB / 0.6078 GB, free: 0.9609 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 16 (sink2.medium.phase,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * 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 4,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.0008801/1.045, allocations: 343.5 kB / 0.6081 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/1.045, allocations: 94.88 kB / 0.6082 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009322/1.054, allocations: 4.417 MB / 0.6125 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.631e-05/1.054, allocations: 59.91 kB / 0.6126 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.054, allocations: 0 / 0.6126 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.442e-05/1.054, allocations: 11.94 kB / 0.6126 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/1.067, allocations: 6.167 MB / 0.6186 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/1.067, allocations: 4 kB / 0.6186 GB, free: 5.734 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/1.068, allocations: 143.8 kB / 0.6188 GB, free: 5.594 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003194/1.071, allocations: 0.6718 MB / 0.6194 GB, free: 4.918 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001601/1.071, allocations: 23.98 kB / 0.6194 GB, free: 4.895 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/1.074, allocations: 1.791 MB / 0.6212 GB, free: 3.055 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-05/1.074, allocations: 3.953 kB / 0.6212 GB, free: 3.051 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3165/1.391, allocations: 3.877 MB / 0.625 GB, free: 163.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009678/1.392, allocations: 404.6 kB / 0.6254 GB, free: 163 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002901/1.392, allocations: 14.94 kB / 0.6254 GB, free: 163 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/1.393, allocations: 82.98 kB / 0.6255 GB, free: 163 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/1.394, allocations: 72.95 kB / 0.6255 GB, free: 163 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/1.394, allocations: 35.83 kB / 0.6256 GB, free: 163 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001114/1.395, allocations: 0.5615 MB / 0.6261 GB, free: 162.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.092e-06/1.395, allocations: 0 / 0.6261 GB, free: 162.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00535/1.4, allocations: 1.43 MB / 0.6275 GB, free: 162.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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 {4 10,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01664/1.417, allocations: 5.663 MB / 0.633 GB, free: 162 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004526/1.421, allocations: 1.649 MB / 0.6346 GB, free: 161.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.422, allocations: 1.547 kB / 0.6347 GB, free: 161.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002754/1.424, allocations: 1.194 MB / 0.6358 GB, free: 161 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003744/1.428, allocations: 418.8 kB / 0.6362 GB, free: 160.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02388/1.452, allocations: 23.64 MB / 0.6593 GB, free: 141.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/1.453, allocations: 1.417 MB / 0.6607 GB, free: 140.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00206/1.455, allocations: 0.5496 MB / 0.6612 GB, free: 140.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009844/1.456, allocations: 0.6414 MB / 0.6618 GB, free: 140.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.643e-06/1.456, allocations: 0 / 0.6618 GB, free: 140.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1846/1.641, allocations: 71.38 MB / 0.7315 GB, free: 89.14 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002902/1.641, allocations: 285.2 kB / 0.7318 GB, free: 88.78 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.393/9.034, allocations: 0 / 0.7318 GB, free: 88.78 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat