Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_3_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.001916/0.001915, allocations: 178.3 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 90.62 kB / 261.8 MB, free: 1.684 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.2892/0.2892, allocations: 43.5 MB / 353.2 MB, free: 300 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.901e-05/1.896e-05, allocations: 0 / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1584, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.089/8.248, allocations: 2.786 GB / 3.253 GB, free: 164.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/8.248, allocations: 86.78 kB / 3.253 GB, free: 164.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.483/10.73, allocations: 0.6498 GB / 3.902 GB, free: 53.03 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.937e-06/10.73, allocations: 0 / 3.902 GB, free: 53.03 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.803e-05/10.73, allocations: 26.72 kB / 3.902 GB, free: 53.02 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.009637/10.74, allocations: 2.391 MB / 3.905 GB, free: 51.82 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/10.74, allocations: 19.41 kB / 3.905 GB, free: 51.81 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00505/10.75, allocations: 0.5741 MB / 3.905 GB, free: 51.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/10.75, allocations: 0.8265 MB / 3.906 GB, free: 51.47 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/10.75, allocations: 173.5 kB / 3.906 GB, free: 51.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/10.75, allocations: 63.28 kB / 3.906 GB, free: 51.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001904/10.75, allocations: 1.164 MB / 3.908 GB, free: 51.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/10.75, allocations: 1.375 MB / 3.909 GB, free: 50.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.884e-05/10.75, allocations: 7.312 kB / 3.909 GB, free: 50.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/10.75, allocations: 4.906 kB / 3.909 GB, free: 50.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-05/10.75, allocations: 45.66 kB / 3.909 GB, free: 50.93 MB / 0.5105 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.06669/10.82, allocations: 40.92 MB / 3.949 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008949/10.82, allocations: 0.5635 MB / 3.949 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004162/10.82, allocations: 332.6 kB / 3.95 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03948/10.86, allocations: 25.08 MB / 3.974 GB, free: 19.53 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.48e-05/10.86, allocations: 43.12 kB / 3.974 GB, free: 19.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001141/10.86, allocations: 103.7 kB / 3.974 GB, free: 19.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=64): time 3.216e-06/10.86, allocations: 0 / 3.974 GB, free: 19.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72): time 0.009694/10.87, allocations: 2.828 MB / 3.977 GB, free: 16.95 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.641e-05/10.87, allocations: 111.6 kB / 3.977 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/10.87, allocations: 0.6515 MB / 3.978 GB, free: 16.22 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.784e-05/10.87, allocations: 25.7 kB / 3.978 GB, free: 16.19 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/10.87, allocations: 0.5919 MB / 3.979 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002541/10.87, allocations: 252.7 kB / 3.979 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/10.87, allocations: 0 / 3.979 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002416/10.87, allocations: 399.3 kB / 3.979 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004973/10.87, allocations: 347.2 kB / 3.979 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000905/10.87, allocations: 0.8995 MB / 3.98 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/10.88, allocations: 0.6341 MB / 3.981 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/10.88, allocations: 8 kB / 3.981 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003185/10.88, allocations: 1.56 MB / 3.982 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/10.88, allocations: 16 kB / 3.983 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/10.88, allocations: 20 kB / 3.983 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/10.88, allocations: 460.1 kB / 3.983 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007065/10.88, allocations: 259.9 kB / 3.983 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/10.88, allocations: 1.812 MB / 3.985 GB, free: 9.246 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/10.88, allocations: 119.3 kB / 3.985 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.99e-05/10.88, allocations: 78.47 kB / 3.985 GB, free: 9.082 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 (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.0002692/10.89, allocations: 166.5 kB / 3.985 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002327/10.89, allocations: 0.9666 MB / 3.986 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/10.89, allocations: 102.8 kB / 3.986 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004801/10.89, allocations: 4.062 MB / 3.99 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.375e-05/10.89, allocations: 58.58 kB / 3.99 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/10.89, allocations: 0 / 3.99 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/10.89, allocations: 11.7 kB / 3.99 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.412/11.3, allocations: 5.682 MB / 3.996 GB, free: 68.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/11.3, allocations: 0.7969 kB / 3.996 GB, free: 68.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007002/11.31, allocations: 144.9 kB / 3.996 GB, free: 68.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/11.31, allocations: 0.7251 MB / 3.997 GB, free: 68.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.705e-05/11.31, allocations: 16.02 kB / 3.997 GB, free: 68.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/11.31, allocations: 1.907 MB / 3.999 GB, free: 67.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/11.31, allocations: 6.797 kB / 3.999 GB, free: 67.19 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005874/11.32, allocations: 3.664 MB / 4.002 GB, free: 66.87 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008569/11.32, allocations: 359.4 kB / 4.003 GB, free: 66.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/11.32, allocations: 2.844 kB / 4.003 GB, free: 66.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00074/11.32, allocations: 66.19 kB / 4.003 GB, free: 66.76 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/11.32, allocations: 69.02 kB / 4.003 GB, free: 66.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.366e-05/11.32, allocations: 38.02 kB / 4.003 GB, free: 66.76 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007279/11.32, allocations: 464.8 kB / 4.003 GB, free: 66.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3e-07/11.32, allocations: 1.094 kB / 4.003 GB, free: 66.67 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007531/11.33, allocations: 1.465 MB / 4.005 GB, free: 66.67 MB / 0.5261 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.0192/11.34, allocations: 6.322 MB / 4.011 GB, free: 65.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002868/11.35, allocations: 1.427 MB / 4.012 GB, free: 65.53 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/11.35, allocations: 0 / 4.012 GB, free: 65.53 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001828/11.35, allocations: 1.074 MB / 4.013 GB, free: 65.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/11.35, allocations: 396.3 kB / 4.014 GB, free: 65.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008857/11.36, allocations: 3.378 MB / 4.017 GB, free: 64.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009233/11.36, allocations: 1.371 MB / 4.018 GB, free: 64.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001725/11.36, allocations: 0.6704 MB / 4.019 GB, free: 64.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000632/11.36, allocations: 0.5923 MB / 4.02 GB, free: 64.18 MB / 0.5261 GB Notification: Performance of SimCode: time 1.212e-06/11.36, allocations: 0 / 4.02 GB, free: 64.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1179/11.48, allocations: 62.33 MB / 4.08 GB, free: 61.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/11.48, allocations: 209 kB / 4.081 GB, free: 61.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.542/16.03, allocations: 0 / 4.081 GB, free: 61.23 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat