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.001015/0.001015, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007821/0.0007821, allocations: 94.36 kB / 292.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1653/0.1653, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.302e-05/2.304e-05, allocations: 6.656 kB / 460.5 MB, free: 69.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08136/0.0814, allocations: 63.25 MB / 0.5115 GB, free: 6.715 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.349/5.43, allocations: 2.793 GB / 3.305 GB, free: 147 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/5.43, allocations: 88.3 kB / 3.305 GB, free: 147 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.339/7.769, allocations: 0.6617 GB / 3.967 GB, free: 46.23 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.014e-06/7.769, allocations: 0 / 3.967 GB, free: 46.23 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001119/7.769, allocations: 25.8 kB / 3.967 GB, free: 46.23 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.01068/7.78, allocations: 2.4 MB / 3.969 GB, free: 45.3 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/7.78, allocations: 12.75 kB / 3.969 GB, free: 45.3 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005696/7.78, allocations: 159.6 kB / 3.969 GB, free: 45.27 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004916/7.785, allocations: 0.5835 MB / 3.97 GB, free: 45.2 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/7.788, allocations: 0.826 MB / 3.97 GB, free: 44.92 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/7.788, allocations: 211.1 kB / 3.971 GB, free: 44.79 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003584/7.788, allocations: 104.5 kB / 3.971 GB, free: 44.79 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004084/7.792, allocations: 1.854 MB / 3.973 GB, free: 44.38 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/7.792, allocations: 5.875 kB / 3.973 GB, free: 44.38 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002012/7.793, allocations: 45.97 kB / 3.973 GB, free: 44.38 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.812e-05/7.793, allocations: 48.45 kB / 3.973 GB, free: 44.38 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003256/7.796, allocations: 1.599 MB / 3.974 GB, free: 44.37 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.0091/7.805, allocations: 8.594 MB / 3.983 GB, free: 38.77 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002486/7.807, allocations: 0.9808 MB / 3.984 GB, free: 38.74 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006237/7.808, allocations: 372.3 kB / 3.984 GB, free: 38.73 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03883/7.847, allocations: 26.94 MB / 4.01 GB, free: 33.99 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/7.847, allocations: 42.19 kB / 4.01 GB, free: 33.95 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009385/7.848, allocations: 125.4 kB / 4.01 GB, free: 33.9 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=70): time 6.152e-06/7.848, allocations: 0 / 4.01 GB, free: 33.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=78): time 0.008606/7.857, allocations: 3.022 MB / 4.013 GB, free: 33.41 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/7.857, allocations: 112.7 kB / 4.013 GB, free: 33.29 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/7.858, allocations: 0.7399 MB / 4.014 GB, free: 33.14 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/7.858, allocations: 39.2 kB / 4.014 GB, free: 33.11 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/7.859, allocations: 0.5618 MB / 4.015 GB, free: 32.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/7.859, allocations: 280 kB / 4.015 GB, free: 32.64 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.109e-05/7.859, allocations: 21.94 kB / 4.015 GB, free: 32.64 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002164/7.859, allocations: 416.7 kB / 4.015 GB, free: 32.32 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005913/7.86, allocations: 373.2 kB / 4.016 GB, free: 32.32 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007703/7.861, allocations: 0.9337 MB / 4.017 GB, free: 31.61 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008131/7.861, allocations: 0.5244 MB / 4.017 GB, free: 31.6 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.657e-05/7.861, allocations: 3.938 kB / 4.017 GB, free: 31.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002586/7.864, allocations: 1.6 MB / 4.019 GB, free: 31.47 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/7.864, allocations: 13.59 kB / 4.019 GB, free: 31.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.465e-05/7.864, allocations: 17.72 kB / 4.019 GB, free: 31.47 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002298/7.866, allocations: 0.55 MB / 4.019 GB, free: 31.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008201/7.867, allocations: 249.9 kB / 4.02 GB, free: 31.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/7.869, allocations: 1.749 MB / 4.021 GB, free: 30.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/7.87, allocations: 131 kB / 4.021 GB, free: 30.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/7.871, allocations: 76.94 kB / 4.021 GB, free: 30.39 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 (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 () * 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.0003391/7.871, allocations: 207.5 kB / 4.022 GB, free: 30.27 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002951/7.871, allocations: 110.2 kB / 4.022 GB, free: 30.21 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005097/7.876, allocations: 4.561 MB / 4.026 GB, free: 29.73 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-05/7.876, allocations: 62.28 kB / 4.026 GB, free: 29.73 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/7.876, allocations: 0 / 4.026 GB, free: 29.73 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/7.876, allocations: 3.844 kB / 4.026 GB, free: 29.73 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007078/7.883, allocations: 6.26 MB / 4.032 GB, free: 29.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/7.884, allocations: 0 / 4.032 GB, free: 29.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006208/7.884, allocations: 171.8 kB / 4.033 GB, free: 29.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/7.886, allocations: 0.7769 MB / 4.033 GB, free: 29.09 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/7.886, allocations: 26.38 kB / 4.033 GB, free: 29.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/7.888, allocations: 1.794 MB / 4.035 GB, free: 28.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/7.888, allocations: 3.312 kB / 4.035 GB, free: 28.03 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004282/7.892, allocations: 3.794 MB / 4.039 GB, free: 27.64 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008832/7.893, allocations: 421.6 kB / 4.039 GB, free: 27.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003411/7.893, allocations: 20.83 kB / 4.039 GB, free: 27.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009599/7.894, allocations: 96.14 kB / 4.039 GB, free: 27.39 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/7.894, allocations: 79.12 kB / 4.039 GB, free: 27.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.51e-05/7.894, allocations: 37 kB / 4.039 GB, free: 27.39 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009874/7.895, allocations: 0.6411 MB / 4.04 GB, free: 27.27 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/7.895, allocations: 0 / 4.04 GB, free: 27.27 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006528/7.902, allocations: 1.551 MB / 4.042 GB, free: 27.04 MB / 0.5573 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 () * 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.01417/7.916, allocations: 6.18 MB / 4.048 GB, free: 25.82 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00288/7.919, allocations: 1.552 MB / 4.049 GB, free: 25.78 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/7.919, allocations: 0 / 4.049 GB, free: 25.78 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/7.921, allocations: 1.164 MB / 4.05 GB, free: 25.75 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/7.924, allocations: 0.5002 MB / 4.051 GB, free: 25.74 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009341/7.933, allocations: 3.668 MB / 4.054 GB, free: 24.86 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009371/7.934, allocations: 1.423 MB / 4.056 GB, free: 24.14 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001468/7.936, allocations: 0.5921 MB / 4.056 GB, free: 24.13 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007741/7.936, allocations: 0.6523 MB / 4.057 GB, free: 24.12 MB / 0.5573 GB Notification: Performance of SimCode: time 1.012e-06/7.936, allocations: 3.156 kB / 4.057 GB, free: 24.12 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1299/8.066, allocations: 77.36 MB / 4.133 GB, free: 11.23 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002411/8.067, allocations: 246.4 kB / 4.133 GB, free: 10.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.579/12.65, allocations: 3.375 kB / 4.133 GB, free: 10.9 MB / 0.573 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