Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002225/0.002225, 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.569/1.569, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001068/0.001069, allocations: 102.2 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2588/0.2588, allocations: 45.14 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.864e-05/1.867e-05, allocations: 0 / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1306, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6439/0.7745, allocations: 237.4 MB / 0.7363 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003854/0.775, allocations: 91.23 kB / 0.7364 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.207/1.982, allocations: 260.7 MB / 0.991 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.443e-06/1.982, allocations: 0 / 0.991 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.619e-05/1.982, allocations: 19.62 kB / 0.991 GB, free: 122.5 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002779/1.985, allocations: 1.197 MB / 0.9922 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/1.985, allocations: 11.19 kB / 0.9922 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009813/1.986, allocations: 139.7 kB / 0.9923 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009276/1.987, allocations: 0.5567 MB / 0.9929 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.677e-05/1.987, allocations: 81.31 kB / 0.9929 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/1.987, allocations: 28.97 kB / 0.993 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007379/1.988, allocations: 0.4958 MB / 0.9935 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009004/1.989, allocations: 0.7267 MB / 0.9942 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/1.989, allocations: 2.875 kB / 0.9942 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-05/1.989, allocations: 4.156 kB / 0.9942 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.519e-05/1.989, allocations: 50.25 kB / 0.9942 GB, free: 121.5 MB / 0.5261 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.004476/1.993, allocations: 4.385 MB / 0.9985 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000453/1.994, allocations: 291.8 kB / 0.9988 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/1.994, allocations: 129.8 kB / 0.9989 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002945/1.994, allocations: 417.8 kB / 0.9993 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/1.995, allocations: 38.31 kB / 0.9993 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 4.157e-06/1.995, allocations: 3 kB / 0.9993 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.003527/1.998, allocations: 1.209 MB / 1.001 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/1.998, allocations: 132.3 kB / 1.001 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005135/1.999, allocations: 470.9 kB / 1.001 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/1.999, allocations: 29.52 kB / 1.001 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/1.999, allocations: 404.6 kB / 1.002 GB, free: 117 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.519e-05/1.999, allocations: 122.2 kB / 1.002 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/1.999, allocations: 0 / 1.002 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.999, allocations: 374.9 kB / 1.002 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/1.999, allocations: 176.8 kB / 1.002 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004536/2, allocations: 470.3 kB / 1.003 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007923/2.001, allocations: 317.5 kB / 1.003 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/2.001, allocations: 3.969 kB / 1.003 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001408/2.002, allocations: 0.8036 MB / 1.004 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/2.002, allocations: 10.91 kB / 1.004 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/2.002, allocations: 17.11 kB / 1.004 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007075/2.003, allocations: 218.4 kB / 1.004 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/2.003, allocations: 123 kB / 1.004 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/2.004, allocations: 1.408 MB / 1.005 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005273/2.005, allocations: 30.81 kB / 1.005 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.524e-05/2.005, allocations: 45.16 kB / 1.005 GB, free: 115.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.000165/2.005, allocations: 138.3 kB / 1.006 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001031/2.006, allocations: 485.8 kB / 1.006 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.796e-05/2.006, allocations: 64.14 kB / 1.006 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/2.008, allocations: 0.6633 MB / 1.007 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/2.008, allocations: 10.44 kB / 1.007 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/2.008, allocations: 0 / 1.007 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/2.008, allocations: 3.797 kB / 1.007 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/2.01, allocations: 1.118 MB / 1.008 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/2.01, allocations: 3.906 kB / 1.008 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/2.01, allocations: 44.52 kB / 1.008 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004558/2.01, allocations: 163 kB / 1.008 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/2.01, allocations: 2.469 kB / 1.008 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008148/2.011, allocations: 1.311 MB / 1.009 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/2.011, allocations: 7.766 kB / 1.009 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/2.012, allocations: 0.7871 MB / 1.01 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/2.012, allocations: 188.6 kB / 1.01 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.41e-05/2.012, allocations: 3.75 kB / 1.01 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/2.013, allocations: 14.66 kB / 1.01 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/2.013, allocations: 19.05 kB / 1.01 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/2.013, allocations: 22.11 kB / 1.01 GB, free: 113 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003251/2.013, allocations: 347.6 kB / 1.011 GB, free: 113 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/2.013, allocations: 0 / 1.011 GB, free: 113 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001022/2.014, allocations: 263.9 kB / 1.011 GB, free: 113 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001897/2.016, allocations: 1.676 MB / 1.013 GB, free: 112 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007874/2.017, allocations: 474.9 kB / 1.013 GB, free: 112 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/2.017, allocations: 7.766 kB / 1.013 GB, free: 112 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003579/2.017, allocations: 198.8 kB / 1.013 GB, free: 112 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/2.019, allocations: 247.6 kB / 1.014 GB, free: 112 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/2.021, allocations: 1.039 MB / 1.015 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/2.021, allocations: 0.9479 MB / 1.015 GB, free: 111 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006788/2.022, allocations: 245.1 kB / 1.016 GB, free: 111 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/2.022, allocations: 231.2 kB / 1.016 GB, free: 111 MB / 0.5261 GB Notification: Performance of SimCode: time 7.61e-07/2.022, allocations: 2.812 kB / 1.016 GB, free: 111 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04028/2.062, allocations: 18 MB / 1.033 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002362/2.063, allocations: 207 kB / 1.034 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/4.544, allocations: 3.688 kB / 1.034 GB, free: 110.4 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat