Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002335/0.002335, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.756/1.756, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001017, allocations: 91.09 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2905/0.2905, allocations: 45.15 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.086e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1746, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.99/8.165, allocations: 2.793 GB / 3.297 GB, free: 50 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/8.165, allocations: 83.83 kB / 3.297 GB, free: 49.96 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.426/10.59, allocations: 0.6557 GB / 3.953 GB, free: 19.55 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.513e-06/10.59, allocations: 0 / 3.953 GB, free: 19.55 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001306/10.59, allocations: 27.59 kB / 3.953 GB, free: 19.53 MB / 0.5417 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.01063/10.6, allocations: 2.389 MB / 3.955 GB, free: 17.12 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/10.6, allocations: 12.03 kB / 3.955 GB, free: 17.11 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005366/10.61, allocations: 0.58 MB / 3.956 GB, free: 16.53 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002594/10.61, allocations: 0.83 MB / 3.957 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002645/10.61, allocations: 176.8 kB / 3.957 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004828/10.61, allocations: 60.69 kB / 3.957 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002662/10.61, allocations: 1.16 MB / 3.958 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002832/10.62, allocations: 1.387 MB / 3.959 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.568e-05/10.62, allocations: 7.594 kB / 3.959 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001858/10.62, allocations: 8 kB / 3.959 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.298e-05/10.62, allocations: 38 kB / 3.959 GB, free: 12.68 MB / 0.5417 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.5334/11.15, allocations: 44.6 MB / 4.003 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/11.15, allocations: 0.5691 MB / 4.003 GB, free: 51.36 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005506/11.15, allocations: 329 kB / 4.004 GB, free: 51.35 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04747/11.2, allocations: 26.93 MB / 4.03 GB, free: 30.63 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/11.2, allocations: 42.03 kB / 4.03 GB, free: 30.59 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001089/11.2, allocations: 107.2 kB / 4.03 GB, free: 30.59 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=64): time 4.398e-06/11.2, allocations: 2.406 kB / 4.03 GB, free: 30.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=72): time 0.009518/11.21, allocations: 2.817 MB / 4.033 GB, free: 30.12 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/11.21, allocations: 114.1 kB / 4.033 GB, free: 30 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00095/11.21, allocations: 0.6529 MB / 4.034 GB, free: 29.87 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.88e-05/11.21, allocations: 25.7 kB / 4.034 GB, free: 29.84 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003991/11.21, allocations: 0.5868 MB / 4.034 GB, free: 29.56 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000229/11.21, allocations: 251.4 kB / 4.035 GB, free: 29.43 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/11.21, allocations: 1.531 kB / 4.035 GB, free: 29.43 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001545/11.21, allocations: 401.5 kB / 4.035 GB, free: 29.12 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/11.21, allocations: 344.5 kB / 4.035 GB, free: 29.12 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/11.21, allocations: 0.9032 MB / 4.036 GB, free: 28.43 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/11.22, allocations: 0.6337 MB / 4.037 GB, free: 28.42 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/11.22, allocations: 7.344 kB / 4.037 GB, free: 28.42 MB / 0.5573 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003353/11.22, allocations: 1.563 MB / 4.038 GB, free: 28.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/11.22, allocations: 17.47 kB / 4.038 GB, free: 28.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/11.22, allocations: 20.72 kB / 4.038 GB, free: 28.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/11.22, allocations: 460.2 kB / 4.039 GB, free: 28.29 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/11.22, allocations: 248.7 kB / 4.039 GB, free: 28.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/11.22, allocations: 1.814 MB / 4.041 GB, free: 27.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/11.22, allocations: 123.1 kB / 4.041 GB, free: 27.22 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/11.22, allocations: 77.39 kB / 4.041 GB, free: 27.22 MB / 0.5573 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.0002711/11.22, allocations: 167 kB / 4.041 GB, free: 27.11 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002548/11.23, allocations: 0.9706 MB / 4.042 GB, free: 27 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/11.23, allocations: 100.7 kB / 4.042 GB, free: 26.95 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004738/11.23, allocations: 4.065 MB / 4.046 GB, free: 26.59 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.303e-05/11.23, allocations: 57.53 kB / 4.046 GB, free: 26.58 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/11.23, allocations: 0 / 4.046 GB, free: 26.58 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/11.23, allocations: 8.25 kB / 4.046 GB, free: 26.58 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007361/11.24, allocations: 5.55 MB / 4.052 GB, free: 26.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/11.24, allocations: 0 / 4.052 GB, free: 26.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005068/11.24, allocations: 147.5 kB / 4.052 GB, free: 26.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001149/11.24, allocations: 0.7243 MB / 4.053 GB, free: 26 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.829e-05/11.24, allocations: 17.27 kB / 4.053 GB, free: 26 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/11.24, allocations: 1.917 MB / 4.054 GB, free: 24.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/11.24, allocations: 5.625 kB / 4.054 GB, free: 24.94 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00426/11.25, allocations: 3.661 MB / 4.058 GB, free: 24.52 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006942/11.25, allocations: 355.3 kB / 4.058 GB, free: 24.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/11.25, allocations: 2.031 kB / 4.058 GB, free: 24.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/11.25, allocations: 69.3 kB / 4.058 GB, free: 24.34 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/11.25, allocations: 74.28 kB / 4.058 GB, free: 24.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/11.25, allocations: 35.27 kB / 4.058 GB, free: 24.34 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006318/11.25, allocations: 470.5 kB / 4.059 GB, free: 24.25 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/11.25, allocations: 3.188 kB / 4.059 GB, free: 24.25 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006644/11.26, allocations: 1.48 MB / 4.06 GB, free: 24.18 MB / 0.5573 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.01465/11.27, allocations: 6.335 MB / 4.067 GB, free: 22.97 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002398/11.27, allocations: 1.435 MB / 4.068 GB, free: 22.93 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/11.27, allocations: 0 / 4.068 GB, free: 22.93 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/11.27, allocations: 1.074 MB / 4.069 GB, free: 22.92 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/11.28, allocations: 402.2 kB / 4.069 GB, free: 22.91 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/11.29, allocations: 3.393 MB / 4.073 GB, free: 22.25 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007824/11.29, allocations: 1.368 MB / 4.074 GB, free: 21.52 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00154/11.29, allocations: 0.6548 MB / 4.075 GB, free: 21.51 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006752/11.29, allocations: 0.5962 MB / 4.075 GB, free: 21.5 MB / 0.5573 GB Notification: Performance of SimCode: time 8.51e-07/11.29, allocations: 1.875 kB / 4.075 GB, free: 21.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/11.41, allocations: 62.39 MB / 4.136 GB, free: 17.96 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/11.41, allocations: 199.4 kB / 4.136 GB, free: 17.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.747/16.15, allocations: 0 / 4.136 GB, free: 17.7 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat