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.001023/0.001024, allocations: 96.23 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009956/0.0009957, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2274/0.2274, allocations: 45.91 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002678/0.0002678, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1376, allocations: 63.46 MB / 481.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.01926/0.1569, allocations: 17.2 MB / 498.7 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007773/0.1647, allocations: 4.594 MB / 0.4915 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.166, allocations: 23.75 kB / 0.4915 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009994/0.167, allocations: 246.7 kB / 0.4918 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004377/0.1714, allocations: 1.344 MB / 0.4931 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003308/0.1747, allocations: 1.136 MB / 0.4942 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00198/0.1767, allocations: 1.047 MB / 0.4952 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006677/0.1774, allocations: 409.2 kB / 0.4956 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005575/0.183, allocations: 3.124 MB / 0.4987 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002039/0.185, allocations: 1.189 MB / 0.4998 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.1852, allocations: 32 kB / 0.4999 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002556/0.1878, allocations: 1.198 MB / 0.501 GB, free: 5.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000281/0.1881, allocations: 215.4 kB / 0.5012 GB, free: 5.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.1884, allocations: 165.4 kB / 0.5014 GB, free: 5.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.1899, allocations: 0.9781 MB / 0.5023 GB, free: 4.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.1899, allocations: 0 / 0.5023 GB, free: 4.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.19, allocations: 4 kB / 0.5023 GB, free: 4.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.19, allocations: 0 / 0.5023 GB, free: 4.32 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.002027/0.192, allocations: 0.9816 MB / 0.5033 GB, free: 3.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.1921, allocations: 8.562 kB / 0.5033 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.1922, allocations: 98.5 kB / 0.5034 GB, free: 3.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009706/0.1932, allocations: 147 kB / 0.5035 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008699/0.1941, allocations: 0.4927 MB / 0.504 GB, free: 2.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.1942, allocations: 108.3 kB / 0.5041 GB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.361e-05/0.1943, allocations: 52 kB / 0.5042 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.1956, allocations: 0.82 MB / 0.505 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.1957, allocations: 11.94 kB / 0.505 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.318e-05/0.1958, allocations: 23.98 kB / 0.505 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.166e-05/0.1958, allocations: 40.94 kB / 0.5051 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.1969, allocations: 0.6009 MB / 0.5056 GB, free: 0.7461 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.2971/0.4941, allocations: 4.705 MB / 0.5102 GB, free: 38.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007551/0.4948, allocations: 329.4 kB / 0.5106 GB, free: 38.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/0.4951, allocations: 418.7 kB / 0.511 GB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.4951, allocations: 44.28 kB / 0.511 GB, free: 38.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 3.397e-06/0.4951, allocations: 0 / 0.511 GB, free: 38.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004341/0.4995, allocations: 1.528 MB / 0.5125 GB, free: 37.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/0.4996, allocations: 133.9 kB / 0.5126 GB, free: 37.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.5007, allocations: 0.6442 MB / 0.5132 GB, free: 37.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.719e-05/0.5007, allocations: 36.91 kB / 0.5133 GB, free: 37.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/0.501, allocations: 400 kB / 0.5137 GB, free: 37.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.5012, allocations: 131.3 kB / 0.5138 GB, free: 37.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.5012, allocations: 12.88 kB / 0.5138 GB, free: 37.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.5014, allocations: 377.4 kB / 0.5142 GB, free: 36.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/0.5018, allocations: 201.6 kB / 0.5143 GB, free: 36.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005914/0.5024, allocations: 0.4902 MB / 0.5148 GB, free: 36.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005066/0.5029, allocations: 294.8 kB / 0.5151 GB, free: 36.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.5029, allocations: 3.156 kB / 0.5151 GB, free: 36.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001537/0.5044, allocations: 0.8598 MB / 0.516 GB, free: 35.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.5045, allocations: 9.359 kB / 0.516 GB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.5045, allocations: 13.59 kB / 0.516 GB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.506, allocations: 286.2 kB / 0.5162 GB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/0.5064, allocations: 122.8 kB / 0.5164 GB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.5077, allocations: 1.393 MB / 0.5177 GB, free: 34.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006877/0.5084, allocations: 48.7 kB / 0.5178 GB, free: 34.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.626e-05/0.5085, allocations: 40.61 kB / 0.5178 GB, free: 34.7 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.0003913/0.5089, allocations: 241 kB / 0.518 GB, free: 34.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.509, allocations: 69.61 kB / 0.5181 GB, free: 34.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.5107, allocations: 0.7197 MB / 0.5188 GB, free: 34.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.5107, allocations: 3.219 kB / 0.5188 GB, free: 34.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5107, allocations: 1 kB / 0.5188 GB, free: 34.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.5108, allocations: 7.328 kB / 0.5188 GB, free: 34.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.5128, allocations: 1.2 MB / 0.52 GB, free: 33.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.5129, allocations: 7.844 kB / 0.52 GB, free: 33.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.513, allocations: 46.42 kB / 0.52 GB, free: 33.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008926/0.5139, allocations: 193.6 kB / 0.5202 GB, free: 33.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.514, allocations: 9.219 kB / 0.5202 GB, free: 33.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009517/0.515, allocations: 1.303 MB / 0.5215 GB, free: 32.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.515, allocations: 1.922 kB / 0.5215 GB, free: 32.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.5163, allocations: 0.8342 MB / 0.5223 GB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003162/0.5166, allocations: 189.3 kB / 0.5225 GB, free: 31.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.485e-05/0.5167, allocations: 11.03 kB / 0.5225 GB, free: 31.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.5171, allocations: 26.77 kB / 0.5225 GB, free: 31.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/0.5172, allocations: 25.97 kB / 0.5226 GB, free: 31.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.305e-05/0.5173, allocations: 21.22 kB / 0.5226 GB, free: 31.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006783/0.518, allocations: 445.6 kB / 0.523 GB, free: 31.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.518, allocations: 0 / 0.523 GB, free: 31.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001238/0.5192, allocations: 255.7 kB / 0.5233 GB, free: 31.48 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.002223/0.5215, allocations: 1.691 MB / 0.5249 GB, free: 30.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.5227, allocations: 0.4999 MB / 0.5254 GB, free: 30.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.5227, allocations: 6.172 kB / 0.5254 GB, free: 30.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005372/0.5232, allocations: 228.9 kB / 0.5256 GB, free: 30.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.5247, allocations: 314.7 kB / 0.5259 GB, free: 30.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008407/0.5332, allocations: 10.3 MB / 0.536 GB, free: 21.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.5337, allocations: 0.9435 MB / 0.5369 GB, free: 20.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009765/0.5347, allocations: 263.7 kB / 0.5372 GB, free: 20.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.535, allocations: 233.2 kB / 0.5374 GB, free: 20.68 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.535, allocations: 0 / 0.5374 GB, free: 20.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04295/0.578, allocations: 20.5 MB / 0.5574 GB, free: 4.152 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003262/0.5784, allocations: 293.4 kB / 0.5577 GB, free: 3.789 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/2.893, allocations: 0 / 0.5577 GB, free: 3.789 MB / 382.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