Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.283/2.283, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004443, allocations: 12 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3572, allocations: 54.87 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.07752/0.4347, allocations: 47.69 MB / 417 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.05471/0.4895, allocations: 25.98 MB / 443 MB, free: 0.875 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.4914, allocations: 39.62 kB / 443 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003507/0.495, allocations: 0.5715 MB / 443.6 MB, free: 268 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02565/0.5207, allocations: 4.547 MB / 448.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01751/0.5382, allocations: 3.183 MB / 451.3 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006132/0.5444, allocations: 2.014 MB / 453.3 MB, free: 6.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002075/0.5465, allocations: 0.6669 MB / 454 MB, free: 5.816 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02719/0.5737, allocations: 9.5 MB / 463.5 MB, free: 12.31 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03203/0.6058, allocations: 11.86 MB / 475.3 MB, free: 452 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004094/0.6063, allocations: 63.94 kB / 475.4 MB, free: 388 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3675/0.9738, allocations: 8.095 MB / 483.5 MB, free: 27.96 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006584/0.9745, allocations: 326.2 kB / 483.8 MB, free: 27.96 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005451/0.9751, allocations: 257.9 kB / 484.1 MB, free: 27.93 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.9865, allocations: 4.295 MB / 488.4 MB, free: 27.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.9865, allocations: 3 kB / 488.4 MB, free: 27.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.9865, allocations: 1.562 kB / 488.4 MB, free: 27.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.9866, allocations: 0 / 488.4 MB, free: 27.71 MB / 394.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.007297/0.9939, allocations: 2.024 MB / 490.4 MB, free: 26.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.9939, allocations: 9.562 kB / 490.4 MB, free: 26.69 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002887/0.9942, allocations: 159 kB / 490.5 MB, free: 26.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006609/1.001, allocations: 0.6441 MB / 491.2 MB, free: 26.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/1.003, allocations: 0.7625 MB / 492 MB, free: 26.31 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002803/1.003, allocations: 214.5 kB / 492.2 MB, free: 26.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000398/1.004, allocations: 99.03 kB / 492.3 MB, free: 26.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009068/1.013, allocations: 1.841 MB / 494.1 MB, free: 25.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.416e-05/1.013, allocations: 9.188 kB / 494.1 MB, free: 25.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002798/1.013, allocations: 48.53 kB / 494.2 MB, free: 25.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/1.013, allocations: 44.16 kB / 494.2 MB, free: 25.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01019/1.023, allocations: 1.68 MB / 495.9 MB, free: 25.81 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.01407/1.038, allocations: 8.437 MB / 0.4925 GB, free: 20.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004193/1.042, allocations: 0.9442 MB / 0.4934 GB, free: 20.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.268/1.31, allocations: 58.08 MB / 0.5501 GB, free: 9.297 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.91e-05/1.31, allocations: 41.62 kB / 0.5502 GB, free: 9.254 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009484/1.311, allocations: 103 kB / 0.5503 GB, free: 9.168 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 4.168e-06/1.311, allocations: 3.562 kB / 0.5503 GB, free: 9.168 MB / 442.7 MB Notification: Performance of matching and sorting (n=77): time 0.01587/1.327, allocations: 3.343 MB / 0.5535 GB, free: 6.531 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.499e-05/1.327, allocations: 115.5 kB / 0.5537 GB, free: 6.395 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/1.329, allocations: 0.7838 MB / 0.5544 GB, free: 5.789 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001627/1.329, allocations: 41.7 kB / 0.5545 GB, free: 5.754 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006251/1.329, allocations: 0.6188 MB / 0.5551 GB, free: 5.254 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004086/1.33, allocations: 275.7 kB / 0.5553 GB, free: 5.023 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.511e-05/1.33, allocations: 30.81 kB / 0.5554 GB, free: 5.016 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002374/1.33, allocations: 363 kB / 0.5557 GB, free: 4.676 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/1.332, allocations: 421.6 kB / 0.5561 GB, free: 4.395 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/1.334, allocations: 1.041 MB / 0.5571 GB, free: 3.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/1.336, allocations: 0.5797 MB / 0.5577 GB, free: 2.863 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/1.336, allocations: 4 kB / 0.5577 GB, free: 2.859 MB / 442.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005387/1.341, allocations: 1.703 MB / 0.5594 GB, free: 1.711 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/1.341, allocations: 16 kB / 0.5594 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-05/1.341, allocations: 20.91 kB / 0.5594 GB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004574/1.346, allocations: 0.6178 MB / 0.56 GB, free: 1.148 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/1.348, allocations: 257 kB / 0.5602 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003647/1.351, allocations: 1.811 MB / 0.562 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/1.353, allocations: 128.2 kB / 0.5621 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/1.353, allocations: 81.3 kB / 0.5622 GB, free: 15.18 MB / 458.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.0007878/1.354, allocations: 346.9 kB / 0.5625 GB, free: 14.94 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/1.354, allocations: 98.78 kB / 0.5626 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008863/1.363, allocations: 4.403 MB / 0.5669 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.222e-05/1.363, allocations: 67.47 kB / 0.567 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/1.363, allocations: 0 / 0.567 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.865e-05/1.363, allocations: 3.984 kB / 0.567 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/1.375, allocations: 6.179 MB / 0.573 GB, free: 7.902 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.375, allocations: 0 / 0.573 GB, free: 7.902 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/1.376, allocations: 147.2 kB / 0.5732 GB, free: 7.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003055/1.379, allocations: 0.6669 MB / 0.5738 GB, free: 7.215 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/1.38, allocations: 24.3 kB / 0.5738 GB, free: 7.203 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002398/1.382, allocations: 1.797 MB / 0.5756 GB, free: 5.684 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.382, allocations: 4 kB / 0.5756 GB, free: 5.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007922/1.39, allocations: 3.876 MB / 0.5794 GB, free: 3.168 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009353/1.391, allocations: 407.1 kB / 0.5798 GB, free: 2.809 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002513/1.391, allocations: 25.38 kB / 0.5798 GB, free: 2.797 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.392, allocations: 67.05 kB / 0.5799 GB, free: 2.742 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/1.393, allocations: 73.69 kB / 0.5799 GB, free: 2.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.963e-05/1.393, allocations: 34.73 kB / 0.58 GB, free: 2.652 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001297/1.394, allocations: 0.5599 MB / 0.5805 GB, free: 2.211 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.713e-06/1.394, allocations: 0 / 0.5805 GB, free: 2.211 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006038/1.4, allocations: 1.442 MB / 0.5819 GB, free: 0.8594 MB / 458.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.01793/1.418, allocations: 5.666 MB / 0.5875 GB, free: 12.62 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004757/1.423, allocations: 1.644 MB / 0.5891 GB, free: 11.53 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/1.423, allocations: 3.844 kB / 0.5891 GB, free: 11.53 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002785/1.426, allocations: 1.193 MB / 0.5902 GB, free: 10.86 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003708/1.429, allocations: 428.3 kB / 0.5906 GB, free: 10.53 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02508/1.455, allocations: 9.513 MB / 0.5999 GB, free: 2.133 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/1.456, allocations: 1.419 MB / 0.6013 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/1.457, allocations: 0.6499 MB / 0.602 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of SimCode: time 1.182e-06/1.457, allocations: 0 / 0.602 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.292/5.749, allocations: 58.45 MB / 0.659 GB, free: 212.3 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat