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.00135/0.001349, 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.612/1.612, 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.001283/0.001283, allocations: 105.4 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4935/0.4935, allocations: 45.22 MB / 394.6 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002923, allocations: 8 kB / 468.5 MB, free: 7.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4564/0.4567, allocations: 63.25 MB / 0.5193 GB, free: 43.74 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6119/1.069, allocations: 238.1 MB / 0.7518 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/1.069, allocations: 101.2 kB / 0.7519 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8648/1.934, allocations: 263.6 MB / 1.009 GB, free: 77.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.196e-06/1.934, allocations: 0 / 1.009 GB, free: 77.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000121/1.934, allocations: 17.72 kB / 1.009 GB, free: 77.5 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.004348/1.938, allocations: 1.269 MB / 1.011 GB, free: 76.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/1.938, allocations: 8.031 kB / 1.011 GB, free: 76.18 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002307/1.939, allocations: 106.4 kB / 1.011 GB, free: 76.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/1.94, allocations: 151 kB / 1.011 GB, free: 75.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/1.941, allocations: 0.5438 MB / 1.011 GB, free: 75.35 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.91e-05/1.941, allocations: 104.4 kB / 1.011 GB, free: 75.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.79e-05/1.941, allocations: 46.97 kB / 1.012 GB, free: 75.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/1.942, allocations: 0.8278 MB / 1.012 GB, free: 74.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/1.942, allocations: 3.938 kB / 1.012 GB, free: 74.29 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-05/1.942, allocations: 24 kB / 1.012 GB, free: 74.27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-05/1.942, allocations: 40.94 kB / 1.012 GB, free: 74.22 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009314/1.943, allocations: 0.597 MB / 1.013 GB, free: 73.62 MB / 0.5105 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.003962/1.947, allocations: 4.49 MB / 1.017 GB, free: 68.83 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/1.948, allocations: 314.9 kB / 1.018 GB, free: 68.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002057/1.948, allocations: 412.6 kB / 1.018 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/1.948, allocations: 46.5 kB / 1.018 GB, free: 67.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 2.134e-06/1.948, allocations: 0 / 1.018 GB, free: 67.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36): time 0.003582/1.952, allocations: 1.51 MB / 1.02 GB, free: 66.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/1.952, allocations: 132.5 kB / 1.02 GB, free: 66.22 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005907/1.952, allocations: 0.5851 MB / 1.02 GB, free: 65.63 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/1.952, allocations: 29.7 kB / 1.02 GB, free: 65.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/1.953, allocations: 391.8 kB / 1.021 GB, free: 65.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.648e-05/1.953, allocations: 133.8 kB / 1.021 GB, free: 65.08 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/1.953, allocations: 16 kB / 1.021 GB, free: 65.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.712e-05/1.953, allocations: 374.8 kB / 1.021 GB, free: 64.69 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/1.953, allocations: 197.9 kB / 1.021 GB, free: 64.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003702/1.954, allocations: 0.4902 MB / 1.022 GB, free: 63.87 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/1.954, allocations: 296.9 kB / 1.022 GB, free: 63.58 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.954, allocations: 4 kB / 1.022 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001074/1.955, allocations: 0.8525 MB / 1.023 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/1.955, allocations: 12.11 kB / 1.023 GB, free: 62.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.955, allocations: 16 kB / 1.023 GB, free: 62.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/1.956, allocations: 273.5 kB / 1.023 GB, free: 62.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/1.957, allocations: 119.8 kB / 1.023 GB, free: 62.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008686/1.957, allocations: 1.39 MB / 1.025 GB, free: 60.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/1.958, allocations: 36.11 kB / 1.025 GB, free: 60.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-05/1.958, allocations: 47.98 kB / 1.025 GB, free: 60.77 MB / 0.5105 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 () * Number of clocked 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.0002859/1.958, allocations: 245.5 kB / 1.025 GB, free: 60.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.517e-05/1.958, allocations: 75.14 kB / 1.025 GB, free: 60.44 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/1.96, allocations: 0.6814 MB / 1.026 GB, free: 59.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/1.96, allocations: 4 kB / 1.026 GB, free: 59.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.96, allocations: 4 kB / 1.026 GB, free: 59.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/1.96, allocations: 3.984 kB / 1.026 GB, free: 59.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/1.961, allocations: 1.201 MB / 1.027 GB, free: 58.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.961, allocations: 0 / 1.027 GB, free: 58.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/1.961, allocations: 43.91 kB / 1.027 GB, free: 58.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007684/1.962, allocations: 197.6 kB / 1.027 GB, free: 58.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/1.962, allocations: 11.98 kB / 1.027 GB, free: 58.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007339/1.963, allocations: 1.296 MB / 1.028 GB, free: 56.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.963, allocations: 3.984 kB / 1.028 GB, free: 56.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009495/1.964, allocations: 0.7976 MB / 1.029 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/1.964, allocations: 196.2 kB / 1.029 GB, free: 55.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.79e-05/1.964, allocations: 11.95 kB / 1.029 GB, free: 55.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004403/1.965, allocations: 23.92 kB / 1.029 GB, free: 55.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/1.965, allocations: 23.97 kB / 1.029 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/1.965, allocations: 19.98 kB / 1.029 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004324/1.965, allocations: 451.1 kB / 1.03 GB, free: 55.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.71e-07/1.965, allocations: 0 / 1.03 GB, free: 55.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009932/1.966, allocations: 291.7 kB / 1.03 GB, free: 55.01 MB / 0.5105 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 () * Number of clocked 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.001698/1.968, allocations: 1.71 MB / 1.032 GB, free: 53.28 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008854/1.969, allocations: 0.508 MB / 1.032 GB, free: 52.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.969, allocations: 0 / 1.032 GB, free: 52.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003838/1.969, allocations: 216.4 kB / 1.033 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/1.971, allocations: 311.4 kB / 1.033 GB, free: 52.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005734/1.976, allocations: 10.33 MB / 1.043 GB, free: 41.69 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/1.977, allocations: 0.9422 MB / 1.044 GB, free: 40.72 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007682/1.977, allocations: 261.9 kB / 1.044 GB, free: 40.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/1.978, allocations: 231.3 kB / 1.044 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of SimCode: time 2.044e-06/1.978, allocations: 0 / 1.044 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03678/2.015, allocations: 21.01 MB / 1.065 GB, free: 19.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/2.015, allocations: 279.3 kB / 1.065 GB, free: 19.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.948/4.963, allocations: 2.812 kB / 1.065 GB, free: 19.21 MB / 0.5105 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