Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01002/0.01002, allocations: 165.6 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.641/1.641, allocations: 170.8 MB / 186.6 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00207/0.002069, allocations: 103.4 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4542/0.4542, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005115/0.0005115, allocations: 12 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1122, allocations: 48.71 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.918/8.03, allocations: 2.507 GB / 2.909 GB, free: 27.41 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/8.03, allocations: 86.08 kB / 2.909 GB, free: 27.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.45/11.48, allocations: 0.6372 GB / 3.546 GB, free: 29.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.507e-06/11.48, allocations: 0 / 3.546 GB, free: 29.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.126e-05/11.48, allocations: 26.92 kB / 3.546 GB, free: 29.24 MB / 442.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.01056/11.49, allocations: 2.425 MB / 3.548 GB, free: 27.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/11.49, allocations: 10.47 kB / 3.548 GB, free: 27.86 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005121/11.49, allocations: 160.9 kB / 3.549 GB, free: 27.76 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007187/11.5, allocations: 0.5397 MB / 3.549 GB, free: 27.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002795/11.5, allocations: 0.8471 MB / 3.55 GB, free: 27.17 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002232/11.5, allocations: 206.8 kB / 3.55 GB, free: 27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002591/11.5, allocations: 98.23 kB / 3.55 GB, free: 26.97 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006184/11.51, allocations: 1.847 MB / 3.552 GB, free: 26.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.93e-05/11.51, allocations: 7.375 kB / 3.552 GB, free: 26.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/11.51, allocations: 50.17 kB / 3.552 GB, free: 26.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.159e-05/11.51, allocations: 43.97 kB / 3.552 GB, free: 26.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006529/11.52, allocations: 1.67 MB / 3.554 GB, free: 25.62 MB / 442.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.01298/11.53, allocations: 8.448 MB / 3.562 GB, free: 18.83 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004222/11.53, allocations: 0.9309 MB / 3.563 GB, free: 18.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1845/11.72, allocations: 57.25 MB / 3.619 GB, free: 232 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.715e-05/11.72, allocations: 47.06 kB / 3.619 GB, free: 176 kB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001175/11.72, allocations: 109.6 kB / 3.619 GB, free: 68 kB / 474.7 MB Notification: Performance of pre-optimization done (n=69): time 3.907e-06/11.72, allocations: 4 kB / 3.619 GB, free: 64 kB / 474.7 MB Notification: Performance of matching and sorting (n=77): time 0.3962/12.11, allocations: 3.326 MB / 3.622 GB, free: 64.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/12.11, allocations: 112.7 kB / 3.622 GB, free: 63.96 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/12.12, allocations: 0.6945 MB / 3.623 GB, free: 63.83 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002825/12.12, allocations: 41.7 kB / 3.623 GB, free: 63.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006731/12.12, allocations: 0.5912 MB / 3.624 GB, free: 63.52 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004953/12.12, allocations: 283.1 kB / 3.624 GB, free: 63.38 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/12.12, allocations: 30.28 kB / 3.624 GB, free: 63.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002367/12.12, allocations: 402.2 kB / 3.624 GB, free: 63.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/12.12, allocations: 422 kB / 3.625 GB, free: 63.07 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/12.12, allocations: 1.043 MB / 3.626 GB, free: 62.29 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001966/12.12, allocations: 0.58 MB / 3.626 GB, free: 62.28 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/12.12, allocations: 5.719 kB / 3.626 GB, free: 62.28 MB / 474.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005846/12.13, allocations: 1.74 MB / 3.628 GB, free: 62.17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/12.13, allocations: 17.61 kB / 3.628 GB, free: 62.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/12.13, allocations: 22.44 kB / 3.628 GB, free: 62.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004549/12.13, allocations: 0.6097 MB / 3.629 GB, free: 62.15 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/12.14, allocations: 258.8 kB / 3.629 GB, free: 62.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003342/12.14, allocations: 1.819 MB / 3.631 GB, free: 61.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/12.14, allocations: 119.2 kB / 3.631 GB, free: 61.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/12.14, allocations: 85.27 kB / 3.631 GB, free: 61.09 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.0008696/12.14, allocations: 342.2 kB / 3.631 GB, free: 60.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/12.14, allocations: 101 kB / 3.631 GB, free: 60.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008824/12.15, allocations: 4.409 MB / 3.636 GB, free: 60.53 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-05/12.15, allocations: 61.55 kB / 3.636 GB, free: 60.53 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/12.15, allocations: 2.594 kB / 3.636 GB, free: 60.53 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/12.15, allocations: 7.312 kB / 3.636 GB, free: 60.53 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/12.16, allocations: 6.18 MB / 3.642 GB, free: 59.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/12.16, allocations: 2.844 kB / 3.642 GB, free: 59.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/12.16, allocations: 149.4 kB / 3.642 GB, free: 59.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003003/12.17, allocations: 0.6741 MB / 3.642 GB, free: 59.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/12.17, allocations: 22.92 kB / 3.642 GB, free: 59.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/12.17, allocations: 1.795 MB / 3.644 GB, free: 58.82 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/12.17, allocations: 2.906 kB / 3.644 GB, free: 58.82 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007743/12.18, allocations: 3.885 MB / 3.648 GB, free: 58.43 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/12.18, allocations: 409.9 kB / 3.648 GB, free: 58.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/12.18, allocations: 16.14 kB / 3.648 GB, free: 58.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/12.18, allocations: 80.16 kB / 3.649 GB, free: 58.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/12.18, allocations: 71.78 kB / 3.649 GB, free: 58.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.857e-05/12.18, allocations: 36.78 kB / 3.649 GB, free: 58.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00114/12.18, allocations: 0.5572 MB / 3.649 GB, free: 58.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.352e-06/12.18, allocations: 0 / 3.649 GB, free: 58.09 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007846/12.19, allocations: 1.521 MB / 3.651 GB, free: 58.01 MB / 474.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,$cse23.phase,$cse23.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.021/12.21, allocations: 6.24 MB / 3.657 GB, free: 56.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004875/12.22, allocations: 1.644 MB / 3.658 GB, free: 56.94 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/12.22, allocations: 0 / 3.658 GB, free: 56.94 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002941/12.22, allocations: 1.196 MB / 3.66 GB, free: 56.93 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004079/12.22, allocations: 421.3 kB / 3.66 GB, free: 56.92 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8232/13.05, allocations: 160.3 MB / 3.816 GB, free: 42.77 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/13.05, allocations: 1.419 MB / 3.818 GB, free: 42.04 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002111/13.05, allocations: 0.5489 MB / 3.818 GB, free: 42.03 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009724/13.05, allocations: 0.6401 MB / 3.819 GB, free: 42.03 MB / 474.7 MB Notification: Performance of SimCode: time 1.082e-06/13.05, allocations: 1.859 kB / 3.819 GB, free: 42.03 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1653/13.22, allocations: 70.96 MB / 3.888 GB, free: 38.78 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000285/13.22, allocations: 278.4 kB / 3.889 GB, free: 38.42 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.585/18.8, allocations: 0 / 3.889 GB, free: 38.42 MB / 474.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