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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0007461/0.000746, allocations: 93.72 kB / 17 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008594/0.0008594, allocations: 193.4 kB / 17.91 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.3 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2422/0.2422, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002998/0.0002998, allocations: 8 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1566, allocations: 63.47 MB / 481.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.03229/0.189, allocations: 23.5 MB / 0.4933 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007743/0.1968, allocations: 4.218 MB / 0.4974 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.1981, allocations: 23.81 kB / 0.4975 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.1991, allocations: 238.5 kB / 0.4977 GB, free: 9.215 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004308/0.2035, allocations: 1.463 MB / 0.4991 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003112/0.2066, allocations: 1.137 MB / 0.5002 GB, free: 6.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003166/0.2098, allocations: 2.249 MB / 0.5024 GB, free: 4.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008069/0.2106, allocations: 401.1 kB / 0.5028 GB, free: 3.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006614/0.2172, allocations: 3.411 MB / 0.5061 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2978/0.515, allocations: 1.452 MB / 0.5075 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000258/0.5153, allocations: 32.25 kB / 0.5076 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003448/0.5188, allocations: 1.215 MB / 0.5088 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004905/0.5193, allocations: 239.2 kB / 0.509 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003747/0.5197, allocations: 166 kB / 0.5092 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.5218, allocations: 0.9895 MB / 0.5101 GB, free: 14.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5218, allocations: 0 / 0.5101 GB, free: 14.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5218, allocations: 0 / 0.5101 GB, free: 14.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.5218, allocations: 0 / 0.5101 GB, free: 14.86 MB / 382.1 MB 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.002354/0.5242, allocations: 0.9777 MB / 0.5111 GB, free: 14.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.5243, allocations: 14.34 kB / 0.5111 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001666/0.5244, allocations: 100 kB / 0.5112 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.5255, allocations: 141.3 kB / 0.5113 GB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.5265, allocations: 0.4951 MB / 0.5118 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.5266, allocations: 105.3 kB / 0.5119 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.5268, allocations: 50.11 kB / 0.5119 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.5285, allocations: 0.8273 MB / 0.5128 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.5285, allocations: 8.344 kB / 0.5128 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-05/0.5286, allocations: 25.67 kB / 0.5128 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.289e-05/0.5287, allocations: 43.5 kB / 0.5128 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.53, allocations: 0.5978 MB / 0.5134 GB, free: 13.7 MB / 382.1 MB 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.004947/0.535, allocations: 4.68 MB / 0.518 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000709/0.5357, allocations: 331.5 kB / 0.5183 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.5359, allocations: 137.5 kB / 0.5184 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002219/0.5362, allocations: 418.9 kB / 0.5188 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.5362, allocations: 42.2 kB / 0.5189 GB, free: 9.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.014e-06/0.5362, allocations: 2.906 kB / 0.5189 GB, free: 9.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.00404/0.5403, allocations: 1.529 MB / 0.5204 GB, free: 9.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.5403, allocations: 134.7 kB / 0.5205 GB, free: 9.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.5414, allocations: 0.6494 MB / 0.5211 GB, free: 8.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.5414, allocations: 34.33 kB / 0.5212 GB, free: 8.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.5418, allocations: 389.2 kB / 0.5215 GB, free: 8.691 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.5419, allocations: 134.7 kB / 0.5217 GB, free: 8.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.542, allocations: 17.75 kB / 0.5217 GB, free: 8.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.5421, allocations: 380.5 kB / 0.522 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003852/0.5425, allocations: 198.2 kB / 0.5222 GB, free: 8.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000573/0.5431, allocations: 0.4925 MB / 0.5227 GB, free: 7.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.5436, allocations: 298.2 kB / 0.523 GB, free: 7.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.5436, allocations: 3.062 kB / 0.523 GB, free: 7.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001397/0.545, allocations: 0.8587 MB / 0.5238 GB, free: 7.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.545, allocations: 9 kB / 0.5238 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.5451, allocations: 12.48 kB / 0.5239 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.5463, allocations: 285.7 kB / 0.5241 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.5467, allocations: 118.8 kB / 0.5242 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000985/0.5477, allocations: 1.406 MB / 0.5256 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006704/0.5484, allocations: 32.41 kB / 0.5256 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.788e-05/0.5485, allocations: 44.91 kB / 0.5257 GB, free: 6.73 MB / 382.1 MB 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.0003628/0.5489, allocations: 250.7 kB / 0.5259 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.549, allocations: 69.38 kB / 0.526 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.5506, allocations: 0.714 MB / 0.5267 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.5506, allocations: 10.84 kB / 0.5267 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.5506, allocations: 1 kB / 0.5267 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.5506, allocations: 0 / 0.5267 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.5525, allocations: 1.204 MB / 0.5279 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.5526, allocations: 0.75 kB / 0.5279 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.5527, allocations: 41.14 kB / 0.5279 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008127/0.5536, allocations: 199.3 kB / 0.5281 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.5536, allocations: 14 kB / 0.5281 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007883/0.5544, allocations: 1.296 MB / 0.5294 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.5544, allocations: 1.031 kB / 0.5294 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.5556, allocations: 0.8073 MB / 0.5302 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.5559, allocations: 197 kB / 0.5304 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.392e-05/0.556, allocations: 12.38 kB / 0.5304 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.5563, allocations: 22.2 kB / 0.5304 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.5564, allocations: 30.89 kB / 0.5304 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/0.5565, allocations: 20.98 kB / 0.5305 GB, free: 4.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005893/0.5571, allocations: 444.1 kB / 0.5309 GB, free: 4.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5571, allocations: 4 kB / 0.5309 GB, free: 4.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001194/0.5583, allocations: 251.1 kB / 0.5311 GB, free: 4.59 MB / 382.1 MB 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.001934/0.5602, allocations: 1.529 MB / 0.5326 GB, free: 3.816 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.5613, allocations: 0.5015 MB / 0.5331 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.5613, allocations: 6.359 kB / 0.5331 GB, free: 3.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00051/0.5618, allocations: 222.6 kB / 0.5333 GB, free: 3.793 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.5634, allocations: 310.9 kB / 0.5336 GB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006666/0.5701, allocations: 4.161 MB / 0.5377 GB, free: 2.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.5705, allocations: 0.9306 MB / 0.5386 GB, free: 1.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000873/0.5714, allocations: 250.9 kB / 0.5388 GB, free: 1.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/0.5717, allocations: 238.1 kB / 0.5391 GB, free: 1.426 MB / 382.1 MB Notification: Performance of SimCode: time 1.393e-06/0.5717, allocations: 3.094 kB / 0.5391 GB, free: 1.426 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04108/0.6128, allocations: 20.53 MB / 0.5591 GB, free: 2.355 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003516/0.6132, allocations: 296.8 kB / 0.5594 GB, free: 1.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/2.904, allocations: 2.672 kB / 0.5594 GB, free: 1.992 MB / 398.1 MB (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