Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001564, allocations: 187.1 kB / 16.4 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 85.89 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5402/0.5402, allocations: 43.55 MB / 362.7 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006675/0.0006674, allocations: 16 kB / 431.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1457, allocations: 58.83 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.204/9.35, allocations: 2.787 GB / 3.266 GB, free: 23.76 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/9.35, allocations: 93.12 kB / 3.266 GB, free: 23.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.835/13.18, allocations: 0.6577 GB / 3.924 GB, free: 36.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.304e-06/13.18, allocations: 0 / 3.924 GB, free: 36.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001286/13.19, allocations: 34.02 kB / 3.924 GB, free: 36.4 MB / 0.5105 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.01337/13.2, allocations: 2.498 MB / 3.926 GB, free: 35.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/13.2, allocations: 8.75 kB / 3.926 GB, free: 35.33 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000784/13.2, allocations: 164 kB / 3.926 GB, free: 35.29 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007946/13.21, allocations: 0.5798 MB / 3.927 GB, free: 35.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003394/13.21, allocations: 0.8349 MB / 3.928 GB, free: 34.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000306/13.21, allocations: 207.6 kB / 3.928 GB, free: 34.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003813/13.21, allocations: 105 kB / 3.928 GB, free: 34.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007119/13.22, allocations: 1.855 MB / 3.93 GB, free: 34.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.707e-05/13.22, allocations: 9.547 kB / 3.93 GB, free: 34.41 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002485/13.22, allocations: 55.58 kB / 3.93 GB, free: 34.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.017e-05/13.22, allocations: 42.44 kB / 3.93 GB, free: 34.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007492/13.23, allocations: 1.672 MB / 3.932 GB, free: 34.4 MB / 0.5105 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.0168/13.24, allocations: 8.586 MB / 3.94 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005318/13.25, allocations: 1.029 MB / 3.941 GB, free: 28.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07288/13.32, allocations: 25.03 MB / 3.966 GB, free: 25.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.07e-05/13.32, allocations: 37.84 kB / 3.966 GB, free: 25.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001393/13.32, allocations: 128.3 kB / 3.966 GB, free: 25.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 5.09e-06/13.32, allocations: 0 / 3.966 GB, free: 25.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.01659/13.34, allocations: 3.566 MB / 3.969 GB, free: 25.22 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/13.34, allocations: 117.7 kB / 3.969 GB, free: 25.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/13.34, allocations: 0.7504 MB / 3.97 GB, free: 24.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001742/13.34, allocations: 39.2 kB / 3.97 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004536/13.34, allocations: 0.5827 MB / 3.971 GB, free: 24.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002938/13.34, allocations: 274.9 kB / 3.971 GB, free: 24.37 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/13.34, allocations: 29.12 kB / 3.971 GB, free: 24.37 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002398/13.34, allocations: 370.6 kB / 3.971 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/13.34, allocations: 443.5 kB / 3.972 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/13.35, allocations: 1.005 MB / 3.973 GB, free: 23.35 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/13.35, allocations: 0.5804 MB / 3.973 GB, free: 23.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/13.35, allocations: 3.375 kB / 3.973 GB, free: 23.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.005858/13.35, allocations: 1.712 MB / 3.975 GB, free: 23.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/13.35, allocations: 15.78 kB / 3.975 GB, free: 23.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.917e-05/13.35, allocations: 16.22 kB / 3.975 GB, free: 23.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004665/13.36, allocations: 0.6289 MB / 3.976 GB, free: 23.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/13.36, allocations: 250.4 kB / 3.976 GB, free: 23.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003733/13.36, allocations: 1.852 MB / 3.978 GB, free: 22.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/13.37, allocations: 129.3 kB / 3.978 GB, free: 22.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002298/13.37, allocations: 76.09 kB / 3.978 GB, free: 22.16 MB / 0.5261 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 (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 (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.0009489/13.37, allocations: 339 kB / 3.978 GB, free: 22.04 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003393/13.37, allocations: 110.2 kB / 3.978 GB, free: 21.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008549/13.38, allocations: 4.532 MB / 3.983 GB, free: 21.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.999e-05/13.38, allocations: 58.27 kB / 3.983 GB, free: 21.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/13.38, allocations: 0 / 3.983 GB, free: 21.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/13.38, allocations: 6.469 kB / 3.983 GB, free: 21.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/13.39, allocations: 6.306 MB / 3.989 GB, free: 20.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/13.39, allocations: 3.875 kB / 3.989 GB, free: 20.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/13.39, allocations: 170.4 kB / 3.989 GB, free: 20.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002958/13.39, allocations: 0.6869 MB / 3.99 GB, free: 20.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000194/13.39, allocations: 27.25 kB / 3.99 GB, free: 20.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/13.4, allocations: 1.797 MB / 3.991 GB, free: 19.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/13.4, allocations: 3.219 kB / 3.991 GB, free: 19.81 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008824/13.4, allocations: 3.992 MB / 3.995 GB, free: 19.42 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/13.41, allocations: 425.2 kB / 3.996 GB, free: 19.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004719/13.41, allocations: 27.73 kB / 3.996 GB, free: 19.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001656/13.41, allocations: 94.62 kB / 3.996 GB, free: 19.17 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/13.41, allocations: 72.45 kB / 3.996 GB, free: 19.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/13.41, allocations: 36.05 kB / 3.996 GB, free: 19.17 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001444/13.41, allocations: 0.6493 MB / 3.997 GB, free: 19.06 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.42e-07/13.41, allocations: 3.25 kB / 3.997 GB, free: 19.06 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008781/13.42, allocations: 1.539 MB / 3.998 GB, free: 18.82 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,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.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 (81): * Single equations (assignments): 63 * 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.02173/13.44, allocations: 6.37 MB / 4.004 GB, free: 17.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004787/13.45, allocations: 1.687 MB / 4.006 GB, free: 17.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/13.45, allocations: 0 / 4.006 GB, free: 17.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002613/13.45, allocations: 1.218 MB / 4.007 GB, free: 17.53 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004561/13.45, allocations: 0.5022 MB / 4.008 GB, free: 17.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03139/13.48, allocations: 22.48 MB / 4.03 GB, free: 17.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/13.49, allocations: 1.427 MB / 4.031 GB, free: 16.27 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/13.49, allocations: 0.6607 MB / 4.032 GB, free: 16.27 MB / 0.5417 GB Notification: Performance of SimCode: time 1.373e-06/13.49, allocations: 0 / 4.032 GB, free: 16.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.733/18.22, allocations: 61.07 MB / 4.091 GB, free: 65.79 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat