Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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) 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 ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01202/0.01202, allocations: 102.3 kB / 15.05 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001228/0.001228, allocations: 173.2 kB / 15.94 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.737/1.737, allocations: 170.9 MB / 187.5 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.3064/0.3064, allocations: 38.1 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006455/0.0006457, allocations: 8 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09628/0.09697, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.08207/0.1791, allocations: 47.32 MB / 419.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3456/0.5247, allocations: 25.69 MB / 445.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/0.5267, allocations: 36.75 kB / 445.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003027/0.5297, allocations: 0.5745 MB / 445.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02008/0.5499, allocations: 4.502 MB / 450.4 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01933/0.5692, allocations: 3.12 MB / 453.5 MB, free: 12.28 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004712/0.574, allocations: 1.777 MB / 455.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/0.5758, allocations: 0.673 MB / 456 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02769/0.6035, allocations: 9.411 MB / 465.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03148/0.635, allocations: 11.81 MB / 477.2 MB, free: 3.457 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004463/0.6356, allocations: 62.62 kB / 477.3 MB, free: 3.398 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02515/0.6607, allocations: 7.956 MB / 485.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009447/0.6617, allocations: 325.4 kB / 485.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007146/0.6625, allocations: 262.4 kB / 485.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01219/0.6747, allocations: 4.24 MB / 490 MB, free: 9.184 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6747, allocations: 0 / 490 MB, free: 9.184 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.418e-06/0.6747, allocations: 0 / 490 MB, free: 9.184 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.656e-05/0.6748, allocations: 6.734 kB / 490 MB, free: 9.18 MB / 346.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.007898/0.6827, allocations: 1.986 MB / 492 MB, free: 7.285 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.6828, allocations: 8.031 kB / 492 MB, free: 7.277 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004813/0.6833, allocations: 163.6 kB / 492.2 MB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007286/0.6906, allocations: 0.5986 MB / 492.8 MB, free: 6.613 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002418/0.693, allocations: 0.7574 MB / 493.6 MB, free: 6.008 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003077/0.6934, allocations: 212.9 kB / 493.8 MB, free: 5.824 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003323/0.6937, allocations: 106.1 kB / 493.9 MB, free: 5.754 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007296/0.7011, allocations: 1.835 MB / 495.7 MB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.789e-05/0.7012, allocations: 2.625 kB / 495.7 MB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002321/0.7014, allocations: 50.55 kB / 495.7 MB, free: 4.227 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.7015, allocations: 41.94 kB / 495.8 MB, free: 4.191 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007841/0.7094, allocations: 1.679 MB / 497.5 MB, free: 2.961 MB / 346.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.01631/0.7258, allocations: 8.458 MB / 0.4941 GB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004595/0.7304, allocations: 0.9449 MB / 0.495 GB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2322/0.9626, allocations: 57.99 MB / 0.5516 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.122e-05/0.9628, allocations: 41.56 kB / 0.5517 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009039/0.9637, allocations: 101.8 kB / 0.5518 GB, free: 10.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=69): time 4.529e-06/0.9637, allocations: 6.625 kB / 0.5518 GB, free: 10.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=77): time 0.01622/0.9799, allocations: 3.342 MB / 0.555 GB, free: 7.641 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/0.9801, allocations: 111.5 kB / 0.5551 GB, free: 7.504 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.9817, allocations: 0.7949 MB / 0.5559 GB, free: 6.707 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001784/0.9819, allocations: 37.7 kB / 0.5559 GB, free: 6.664 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006023/0.9825, allocations: 0.5959 MB / 0.5565 GB, free: 6.066 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003709/0.9829, allocations: 276.7 kB / 0.5568 GB, free: 5.801 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.736e-05/0.983, allocations: 28 kB / 0.5568 GB, free: 5.773 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002666/0.9833, allocations: 410.7 kB / 0.5572 GB, free: 5.363 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/0.985, allocations: 411.7 kB / 0.5576 GB, free: 4.961 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/0.9873, allocations: 1.041 MB / 0.5586 GB, free: 3.637 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002153/0.9895, allocations: 0.5799 MB / 0.5592 GB, free: 3.078 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-05/0.9896, allocations: 4 kB / 0.5592 GB, free: 3.074 MB / 426.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.006276/0.9959, allocations: 1.744 MB / 0.5609 GB, free: 1.441 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/0.996, allocations: 20.02 kB / 0.5609 GB, free: 1.422 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-05/0.996, allocations: 24 kB / 0.5609 GB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004707/1.001, allocations: 0.6015 MB / 0.5615 GB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/1.002, allocations: 255.9 kB / 0.5618 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003688/1.006, allocations: 1.815 MB / 0.5635 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/1.008, allocations: 126.5 kB / 0.5637 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002254/1.008, allocations: 79.98 kB / 0.5637 GB, free: 14.51 MB / 442.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.0008378/1.009, allocations: 351.5 kB / 0.5641 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003122/1.01, allocations: 94.88 kB / 0.5642 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009276/1.019, allocations: 4.415 MB / 0.5685 GB, free: 9.637 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.079e-05/1.019, allocations: 55.91 kB / 0.5685 GB, free: 9.582 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.019, allocations: 0 / 0.5685 GB, free: 9.582 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/1.019, allocations: 7.984 kB / 0.5685 GB, free: 9.574 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/1.032, allocations: 6.179 MB / 0.5746 GB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/1.032, allocations: 0 / 0.5746 GB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/1.033, allocations: 145.7 kB / 0.5747 GB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00318/1.036, allocations: 0.6664 MB / 0.5754 GB, free: 2.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/1.036, allocations: 31.94 kB / 0.5754 GB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002466/1.039, allocations: 1.783 MB / 0.5771 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.039, allocations: 4.062 kB / 0.5771 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008305/1.047, allocations: 3.886 MB / 0.5809 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009978/1.048, allocations: 394 kB / 0.5813 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002515/1.049, allocations: 23.98 kB / 0.5813 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/1.05, allocations: 75.8 kB / 0.5814 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/1.05, allocations: 68.95 kB / 0.5815 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/1.05, allocations: 43.97 kB / 0.5815 GB, free: 12.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001193/1.052, allocations: 0.5662 MB / 0.5821 GB, free: 11.53 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.052, allocations: 0 / 0.5821 GB, free: 11.53 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005676/1.057, allocations: 1.42 MB / 0.5834 GB, free: 10.11 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.0182/1.075, allocations: 5.667 MB / 0.589 GB, free: 4.531 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00531/1.081, allocations: 1.646 MB / 0.5906 GB, free: 2.949 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.081, allocations: 4.375 kB / 0.5906 GB, free: 2.945 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003078/1.084, allocations: 1.181 MB / 0.5917 GB, free: 1.766 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003977/1.088, allocations: 431.8 kB / 0.5922 GB, free: 1.344 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2981/1.386, allocations: 23.63 MB / 0.6152 GB, free: 163.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/1.388, allocations: 1.423 MB / 0.6166 GB, free: 163.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00268/1.39, allocations: 0.5469 MB / 0.6172 GB, free: 163.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/1.392, allocations: 0.6446 MB / 0.6178 GB, free: 162.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.092e-06/1.392, allocations: 1.703 kB / 0.6178 GB, free: 162.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.215/1.607, allocations: 71.02 MB / 0.6871 GB, free: 102.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003214/1.607, allocations: 293.2 kB / 0.6874 GB, free: 101.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/9.324, allocations: 0 / 0.6874 GB, free: 101.7 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat