Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01516/0.01516, allocations: 175 kB / 15.12 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.045/2.045, allocations: 194.5 MB / 210.3 MB, free: 7.602 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002005/0.002004, allocations: 124.5 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2502/0.2502, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000494/0.000494, allocations: 10.25 kB / 406.3 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.105, allocations: 54.88 MB / 461.1 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.886/7.991, allocations: 2.617 GB / 3.068 GB, free: 50.06 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/7.991, allocations: 87.41 kB / 3.068 GB, free: 50.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.846/11.84, allocations: 0.654 GB / 3.722 GB, free: 42.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.867e-06/11.84, allocations: 0 / 3.722 GB, free: 42.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001238/11.84, allocations: 26.47 kB / 3.722 GB, free: 42.29 MB / 0.4948 GB 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.01231/11.85, allocations: 2.495 MB / 3.724 GB, free: 41.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/11.85, allocations: 14.19 kB / 3.724 GB, free: 41.27 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006978/11.85, allocations: 162.3 kB / 3.724 GB, free: 41.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00773/11.86, allocations: 0.5823 MB / 3.725 GB, free: 41.17 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002963/11.86, allocations: 0.8412 MB / 3.726 GB, free: 40.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/11.86, allocations: 207.8 kB / 3.726 GB, free: 40.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002633/11.86, allocations: 108.1 kB / 3.726 GB, free: 40.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006558/11.87, allocations: 1.844 MB / 3.728 GB, free: 40.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.728e-05/11.87, allocations: 9.344 kB / 3.728 GB, free: 40.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002137/11.87, allocations: 42.25 kB / 3.728 GB, free: 40.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.752e-05/11.87, allocations: 51.48 kB / 3.728 GB, free: 40.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006774/11.88, allocations: 1.662 MB / 3.73 GB, free: 40.35 MB / 0.4948 GB 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.01457/11.89, allocations: 8.452 MB / 3.738 GB, free: 34.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004388/11.9, allocations: 0.9226 MB / 3.739 GB, free: 34.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1898/12.08, allocations: 57.32 MB / 3.795 GB, free: 30.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.903e-05/12.09, allocations: 48.16 kB / 3.795 GB, free: 30.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001193/12.09, allocations: 105.2 kB / 3.795 GB, free: 30.53 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=69): time 5.3e-06/12.09, allocations: 4 kB / 3.795 GB, free: 30.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=77): time 0.01508/12.1, allocations: 3.348 MB / 3.798 GB, free: 29.92 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.952e-05/12.1, allocations: 117.3 kB / 3.798 GB, free: 29.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/12.1, allocations: 0.6938 MB / 3.799 GB, free: 29.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001246/12.1, allocations: 39.02 kB / 3.799 GB, free: 29.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004535/12.1, allocations: 0.5957 MB / 3.8 GB, free: 29.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/12.1, allocations: 273.8 kB / 3.8 GB, free: 29.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/12.1, allocations: 26.56 kB / 3.8 GB, free: 29.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002341/12.1, allocations: 407.9 kB / 3.8 GB, free: 28.79 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/12.11, allocations: 416.2 kB / 3.801 GB, free: 28.79 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/12.11, allocations: 1.045 MB / 3.802 GB, free: 27.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/12.11, allocations: 0.5802 MB / 3.802 GB, free: 27.94 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/12.11, allocations: 3.969 kB / 3.802 GB, free: 27.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00511/12.11, allocations: 1.744 MB / 3.804 GB, free: 27.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/12.11, allocations: 13.88 kB / 3.804 GB, free: 27.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/12.11, allocations: 29.44 kB / 3.804 GB, free: 27.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004409/12.12, allocations: 0.6143 MB / 3.805 GB, free: 27.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/12.12, allocations: 256.2 kB / 3.805 GB, free: 27.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003311/12.12, allocations: 1.808 MB / 3.807 GB, free: 26.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/12.13, allocations: 124.3 kB / 3.807 GB, free: 26.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/12.13, allocations: 83.7 kB / 3.807 GB, free: 26.69 MB / 0.5261 GB 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.0008225/12.13, allocations: 341.8 kB / 3.807 GB, free: 26.56 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/12.13, allocations: 106.2 kB / 3.807 GB, free: 26.51 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007793/12.13, allocations: 4.424 MB / 3.812 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.967e-05/12.13, allocations: 60.78 kB / 3.812 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/12.13, allocations: 0 / 3.812 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/12.13, allocations: 10.45 kB / 3.812 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/12.14, allocations: 6.173 MB / 3.818 GB, free: 25.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/12.14, allocations: 3.75 kB / 3.818 GB, free: 25.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/12.15, allocations: 147.5 kB / 3.818 GB, free: 25.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002838/12.15, allocations: 0.6834 MB / 3.818 GB, free: 25.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.772e-05/12.15, allocations: 29.45 kB / 3.819 GB, free: 25.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002195/12.15, allocations: 1.778 MB / 3.82 GB, free: 24.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/12.15, allocations: 2.672 kB / 3.82 GB, free: 24.28 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007117/12.16, allocations: 3.889 MB / 3.824 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009969/12.16, allocations: 403.8 kB / 3.824 GB, free: 23.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/12.16, allocations: 25.09 kB / 3.824 GB, free: 23.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/12.16, allocations: 70.44 kB / 3.825 GB, free: 23.64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/12.16, allocations: 72.03 kB / 3.825 GB, free: 23.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.42e-05/12.16, allocations: 39.11 kB / 3.825 GB, free: 23.64 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001078/12.16, allocations: 0.5547 MB / 3.825 GB, free: 23.53 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/12.16, allocations: 0 / 3.825 GB, free: 23.53 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007544/12.17, allocations: 1.537 MB / 3.827 GB, free: 23.29 MB / 0.5261 GB 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.01954/12.19, allocations: 6.257 MB / 3.833 GB, free: 21.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004532/12.19, allocations: 1.641 MB / 3.834 GB, free: 21.89 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/12.19, allocations: 4 kB / 3.834 GB, free: 21.88 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002552/12.2, allocations: 1.191 MB / 3.836 GB, free: 21.87 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003916/12.2, allocations: 423 kB / 3.836 GB, free: 21.85 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8286/13.03, allocations: 162.9 MB / 3.995 GB, free: 49.97 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/13.03, allocations: 1.423 MB / 3.996 GB, free: 49.25 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002107/13.03, allocations: 0.5502 MB / 3.997 GB, free: 49.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/13.03, allocations: 0.6436 MB / 3.998 GB, free: 49.24 MB / 0.5261 GB Notification: Performance of SimCode: time 1.002e-06/13.03, allocations: 0 / 3.998 GB, free: 49.24 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3114/13.34, allocations: 71.14 MB / 4.067 GB, free: 22.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002776/13.35, allocations: 278.5 kB / 4.067 GB, free: 22.14 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.71/19.06, allocations: 4.062 kB / 4.067 GB, free: 22.14 MB / 0.5261 GB 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