Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 169.9 kB / 8.74 MB, free: 340 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 221.5 MB / 230.7 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 96.84 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2581/0.2581, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.237e-05/2.211e-05, allocations: 0 / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1877, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.375/8.563, allocations: 2.792 GB / 3.286 GB, free: 165.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/8.563, allocations: 88.47 kB / 3.286 GB, free: 165.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.527/11.09, allocations: 0.6554 GB / 3.942 GB, free: 52 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.223e-06/11.09, allocations: 0 / 3.942 GB, free: 52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.566e-05/11.09, allocations: 29.73 kB / 3.942 GB, free: 52 MB / 0.5261 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.008738/11.1, allocations: 2.386 MB / 3.944 GB, free: 50.88 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/11.1, allocations: 14.42 kB / 3.944 GB, free: 50.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005023/11.1, allocations: 0.5794 MB / 3.945 GB, free: 50.81 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/11.11, allocations: 0.8428 MB / 3.946 GB, free: 50.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/11.11, allocations: 176.2 kB / 3.946 GB, free: 50.39 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/11.11, allocations: 56.75 kB / 3.946 GB, free: 50.39 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002043/11.11, allocations: 1.158 MB / 3.947 GB, free: 50.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/11.11, allocations: 1.377 MB / 3.948 GB, free: 49.99 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/11.11, allocations: 5.75 kB / 3.948 GB, free: 49.99 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/11.11, allocations: 3.406 kB / 3.948 GB, free: 49.99 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-05/11.11, allocations: 43.75 kB / 3.948 GB, free: 49.99 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.06885/11.18, allocations: 40.94 MB / 3.988 GB, free: 24.37 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009615/11.18, allocations: 0.5612 MB / 3.989 GB, free: 24.34 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004273/11.18, allocations: 319.2 kB / 3.989 GB, free: 24.33 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04282/11.22, allocations: 25.09 MB / 4.014 GB, free: 20.81 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.174e-05/11.22, allocations: 40.75 kB / 4.014 GB, free: 20.77 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001059/11.23, allocations: 101 kB / 4.014 GB, free: 20.73 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=64): time 4.458e-06/11.23, allocations: 0 / 4.014 GB, free: 20.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72): time 0.00963/11.24, allocations: 2.824 MB / 4.017 GB, free: 20.23 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/11.24, allocations: 109.2 kB / 4.017 GB, free: 20.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/11.24, allocations: 0.6558 MB / 4.017 GB, free: 19.95 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-05/11.24, allocations: 29.2 kB / 4.017 GB, free: 19.91 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/11.24, allocations: 0.5856 MB / 4.018 GB, free: 19.57 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/11.24, allocations: 253.8 kB / 4.018 GB, free: 19.41 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/11.24, allocations: 0 / 4.018 GB, free: 19.41 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000217/11.24, allocations: 400.5 kB / 4.019 GB, free: 19.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004673/11.24, allocations: 347.9 kB / 4.019 GB, free: 19.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007336/11.24, allocations: 0.8975 MB / 4.02 GB, free: 18.38 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001817/11.24, allocations: 0.6374 MB / 4.02 GB, free: 18.34 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/11.24, allocations: 3.688 kB / 4.02 GB, free: 18.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003408/11.24, allocations: 1.56 MB / 4.022 GB, free: 18.22 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/11.24, allocations: 14.78 kB / 4.022 GB, free: 18.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/11.24, allocations: 21.25 kB / 4.022 GB, free: 18.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/11.25, allocations: 464.2 kB / 4.022 GB, free: 18.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007307/11.25, allocations: 248.4 kB / 4.023 GB, free: 18.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/11.25, allocations: 1.824 MB / 4.024 GB, free: 17.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/11.25, allocations: 115.8 kB / 4.025 GB, free: 17.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/11.25, allocations: 73.56 kB / 4.025 GB, free: 17.12 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 16 (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],mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase,mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0003305/11.25, allocations: 165.1 kB / 4.025 GB, free: 16.99 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002679/11.25, allocations: 0.9755 MB / 4.026 GB, free: 16.88 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/11.25, allocations: 92.72 kB / 4.026 GB, free: 16.83 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004577/11.26, allocations: 4.07 MB / 4.03 GB, free: 16.39 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-05/11.26, allocations: 59.34 kB / 4.03 GB, free: 16.39 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/11.26, allocations: 0 / 4.03 GB, free: 16.39 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/11.26, allocations: 3.703 kB / 4.03 GB, free: 16.39 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006121/11.26, allocations: 5.556 MB / 4.035 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/11.26, allocations: 0 / 4.035 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/11.26, allocations: 147.3 kB / 4.035 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001092/11.27, allocations: 0.7234 MB / 4.036 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-05/11.27, allocations: 16.25 kB / 4.036 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/11.27, allocations: 1.913 MB / 4.038 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/11.27, allocations: 2.469 kB / 4.038 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00394/11.27, allocations: 3.668 MB / 4.042 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006515/11.27, allocations: 352.4 kB / 4.042 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/11.27, allocations: 5.781 kB / 4.042 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006675/11.27, allocations: 70.56 kB / 4.042 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/11.27, allocations: 77.94 kB / 4.042 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-05/11.27, allocations: 33.2 kB / 4.042 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006041/11.27, allocations: 465.3 kB / 4.043 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/11.27, allocations: 0 / 4.043 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006241/11.28, allocations: 1.46 MB / 4.044 GB, free: 11.55 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 31 ($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,$cse15.phase,$cse15.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * 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.01469/11.29, allocations: 6.343 MB / 4.05 GB, free: 5.895 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002478/11.3, allocations: 1.429 MB / 4.052 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/11.3, allocations: 6.203 kB / 4.052 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/11.3, allocations: 1.074 MB / 4.053 GB, free: 3.605 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/11.3, allocations: 406.7 kB / 4.053 GB, free: 3.32 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00863/11.31, allocations: 3.374 MB / 4.056 GB, free: 16.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008502/11.31, allocations: 1.365 MB / 4.058 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001444/11.31, allocations: 0.6641 MB / 4.058 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007484/11.31, allocations: 0.5895 MB / 4.059 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.613e-06/11.31, allocations: 0 / 4.059 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5369/11.85, allocations: 62.27 MB / 4.12 GB, free: 68.15 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/11.85, allocations: 202.8 kB / 4.12 GB, free: 67.87 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.368/16.22, allocations: 0 / 4.12 GB, free: 67.87 MB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat