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.001524/0.001524, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.618/1.618, allocations: 227.2 MB / 245 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009398/0.0009398, allocations: 100.9 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5117/0.5117, allocations: 45.22 MB / 394.6 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003877/0.0003882, allocations: 12.2 kB / 468.5 MB, free: 7.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4684/0.4688, allocations: 63.24 MB / 0.5193 GB, free: 43.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.434/6.903, allocations: 2.793 GB / 3.313 GB, free: 119.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/6.903, allocations: 89.42 kB / 3.313 GB, free: 119.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.873/9.776, allocations: 0.6636 GB / 3.976 GB, free: 42.15 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.166e-06/9.776, allocations: 0 / 3.976 GB, free: 42.15 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001822/9.776, allocations: 32.48 kB / 3.976 GB, free: 42.14 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.01504/9.791, allocations: 2.499 MB / 3.979 GB, free: 40.75 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 9.025e-05/9.791, allocations: 11.03 kB / 3.979 GB, free: 40.75 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001288/9.792, allocations: 166.2 kB / 3.979 GB, free: 40.64 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00623/9.799, allocations: 0.5767 MB / 3.979 GB, free: 40.55 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003692/9.802, allocations: 0.8298 MB / 3.98 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003751/9.803, allocations: 208.2 kB / 3.98 GB, free: 39.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006802/9.803, allocations: 106.9 kB / 3.981 GB, free: 39.87 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006752/9.81, allocations: 1.858 MB / 3.982 GB, free: 39.01 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.278e-05/9.81, allocations: 3.938 kB / 3.982 GB, free: 39 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003883/9.811, allocations: 46.06 kB / 3.982 GB, free: 38.97 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/9.811, allocations: 51.41 kB / 3.983 GB, free: 38.96 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005166/9.816, allocations: 1.669 MB / 3.984 GB, free: 38.5 MB / 0.5417 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.01619/9.832, allocations: 8.586 MB / 3.993 GB, free: 31.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003286/9.836, allocations: 1.025 MB / 3.994 GB, free: 31.39 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04658/9.882, allocations: 26.89 MB / 4.02 GB, free: 25.99 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.801e-05/9.882, allocations: 38.78 kB / 4.02 GB, free: 25.95 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001248/9.884, allocations: 125.2 kB / 4.02 GB, free: 25.88 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=70): time 8.596e-06/9.884, allocations: 0 / 4.02 GB, free: 25.88 MB / 0.5573 GB Notification: Performance of matching and sorting (n=78): time 0.01329/9.897, allocations: 3.573 MB / 4.023 GB, free: 24.45 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/9.897, allocations: 111 kB / 4.024 GB, free: 24.32 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/9.899, allocations: 0.7576 MB / 4.024 GB, free: 24 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001631/9.899, allocations: 40.77 kB / 4.024 GB, free: 23.95 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005925/9.9, allocations: 0.5551 MB / 4.025 GB, free: 23.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003486/9.9, allocations: 279.9 kB / 4.025 GB, free: 23.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.23e-05/9.9, allocations: 30.75 kB / 4.025 GB, free: 23.27 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002979/9.9, allocations: 412.5 kB / 4.026 GB, free: 22.91 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/9.902, allocations: 440.3 kB / 4.026 GB, free: 22.78 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/9.903, allocations: 1.004 MB / 4.027 GB, free: 21.88 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/9.904, allocations: 0.5835 MB / 4.028 GB, free: 21.64 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-05/9.905, allocations: 3.188 kB / 4.028 GB, free: 21.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00428/9.909, allocations: 1.763 MB / 4.029 GB, free: 20.94 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.783e-05/9.909, allocations: 15.38 kB / 4.029 GB, free: 20.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.584e-05/9.909, allocations: 20.25 kB / 4.029 GB, free: 20.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002802/9.912, allocations: 0.6359 MB / 4.03 GB, free: 20.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007969/9.913, allocations: 248.4 kB / 4.03 GB, free: 20.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/9.915, allocations: 1.841 MB / 4.032 GB, free: 19.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/9.916, allocations: 129 kB / 4.032 GB, free: 19.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/9.916, allocations: 76.92 kB / 4.032 GB, free: 19.37 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 () * 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.000823/9.917, allocations: 344.8 kB / 4.032 GB, free: 19.13 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/9.918, allocations: 99.28 kB / 4.033 GB, free: 19.08 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006043/9.924, allocations: 4.527 MB / 4.037 GB, free: 17.03 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.542e-05/9.924, allocations: 58.91 kB / 4.037 GB, free: 17.02 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/9.924, allocations: 0 / 4.037 GB, free: 17.02 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/9.924, allocations: 9.844 kB / 4.037 GB, free: 17.01 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008482/9.932, allocations: 6.315 MB / 4.043 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/9.932, allocations: 4 kB / 4.043 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005981/9.933, allocations: 164.4 kB / 4.043 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001802/9.935, allocations: 0.6767 MB / 4.044 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.193e-05/9.935, allocations: 20 kB / 4.044 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/9.936, allocations: 1.806 MB / 4.046 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/9.937, allocations: 3.984 kB / 4.046 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005458/9.942, allocations: 3.995 MB / 4.05 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/9.943, allocations: 428.5 kB / 4.05 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003923/9.944, allocations: 24.94 kB / 4.05 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/9.945, allocations: 95.72 kB / 4.05 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/9.945, allocations: 74.11 kB / 4.05 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/9.945, allocations: 35.94 kB / 4.05 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001357/9.946, allocations: 0.6531 MB / 4.051 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.11e-07/9.946, allocations: 0 / 4.051 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008498/9.955, allocations: 1.554 MB / 4.052 GB, free: 4.434 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 () * 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.01933/9.974, allocations: 6.375 MB / 4.059 GB, free: 14.85 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004167/9.978, allocations: 1.698 MB / 4.06 GB, free: 13.34 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/9.979, allocations: 0 / 4.06 GB, free: 13.34 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002187/9.981, allocations: 1.217 MB / 4.062 GB, free: 12.23 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003206/9.984, allocations: 0.5009 MB / 4.062 GB, free: 11.87 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5302/10.51, allocations: 22.45 MB / 4.084 GB, free: 64.68 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009574/10.52, allocations: 1.42 MB / 4.085 GB, free: 63.96 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001487/10.52, allocations: 0.5905 MB / 4.086 GB, free: 63.95 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007971/10.52, allocations: 0.6479 MB / 4.087 GB, free: 63.95 MB / 0.573 GB Notification: Performance of SimCode: time 2.785e-06/10.52, allocations: 4.406 kB / 4.087 GB, free: 63.95 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.148/10.67, allocations: 73.64 MB / 4.158 GB, free: 61.62 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/10.67, allocations: 280.5 kB / 4.159 GB, free: 61.27 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.656/16.32, allocations: 0 / 4.159 GB, free: 61.27 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