Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009748/0.0009748, allocations: 93.78 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.0009711/0.0009711, allocations: 205 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.429/1.429, allocations: 227.3 MB / 245.9 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2253/0.2253, allocations: 45.92 MB / 344 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002634, allocations: 8 kB / 418.1 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1394, allocations: 63.45 MB / 481.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.01911/0.1585, allocations: 17.21 MB / 498.7 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007596/0.1662, allocations: 4.595 MB / 0.4915 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.1674, allocations: 23.81 kB / 0.4915 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008998/0.1683, allocations: 254.6 kB / 0.4918 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004132/0.1724, allocations: 1.299 MB / 0.4931 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.1755, allocations: 1.098 MB / 0.4941 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002021/0.1775, allocations: 1.047 MB / 0.4952 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007159/0.1783, allocations: 401.3 kB / 0.4955 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005234/0.1835, allocations: 2.82 MB / 0.4983 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002278/0.1858, allocations: 1.088 MB / 0.4994 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002244/0.1861, allocations: 32 kB / 0.4994 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003065/0.1891, allocations: 1.116 MB / 0.5005 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003377/0.1895, allocations: 219.4 kB / 0.5007 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003218/0.1898, allocations: 169.3 kB / 0.5008 GB, free: 5.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.1915, allocations: 0.9743 MB / 0.5018 GB, free: 4.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1915, allocations: 0 / 0.5018 GB, free: 4.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1915, allocations: 0 / 0.5018 GB, free: 4.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.1916, allocations: 0 / 0.5018 GB, free: 4.887 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.001937/0.1935, allocations: 0.9816 MB / 0.5028 GB, free: 3.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1935, allocations: 12.5 kB / 0.5028 GB, free: 3.844 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.1937, allocations: 102.5 kB / 0.5029 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009639/0.1947, allocations: 143 kB / 0.503 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008301/0.1955, allocations: 0.4927 MB / 0.5035 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.1956, allocations: 100.4 kB / 0.5036 GB, free: 2.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.624e-05/0.1957, allocations: 48 kB / 0.5036 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.197, allocations: 0.8316 MB / 0.5044 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.1971, allocations: 4 kB / 0.5044 GB, free: 1.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.276e-05/0.1972, allocations: 23.98 kB / 0.5045 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-05/0.1972, allocations: 52.86 kB / 0.5045 GB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.1983, allocations: 0.6009 MB / 0.5051 GB, free: 1.305 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.3011/0.4994, allocations: 4.699 MB / 0.5097 GB, free: 39.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008443/0.5003, allocations: 333.6 kB / 0.51 GB, free: 39.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000256/0.5006, allocations: 418.6 kB / 0.5104 GB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.5006, allocations: 37.61 kB / 0.5104 GB, free: 38.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.833e-06/0.5006, allocations: 2.688 kB / 0.5104 GB, free: 38.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004338/0.505, allocations: 1.529 MB / 0.5119 GB, free: 38.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.505, allocations: 133.6 kB / 0.5121 GB, free: 37.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009808/0.506, allocations: 0.6493 MB / 0.5127 GB, free: 37.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.829e-05/0.5061, allocations: 35.45 kB / 0.5127 GB, free: 37.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003334/0.5064, allocations: 390.4 kB / 0.5131 GB, free: 37.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.5066, allocations: 135 kB / 0.5132 GB, free: 37.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.5066, allocations: 14.12 kB / 0.5132 GB, free: 37.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5067, allocations: 375.2 kB / 0.5136 GB, free: 37.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.5071, allocations: 203.4 kB / 0.5138 GB, free: 37.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000535/0.5076, allocations: 0.4897 MB / 0.5143 GB, free: 36.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004715/0.5081, allocations: 293.5 kB / 0.5146 GB, free: 36.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.5081, allocations: 7.266 kB / 0.5146 GB, free: 36.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001448/0.5096, allocations: 0.8517 MB / 0.5154 GB, free: 36.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.5096, allocations: 13.45 kB / 0.5154 GB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.5096, allocations: 9.438 kB / 0.5154 GB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.511, allocations: 287.6 kB / 0.5157 GB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.5114, allocations: 125.3 kB / 0.5158 GB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.5124, allocations: 1.398 MB / 0.5172 GB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005492/0.513, allocations: 36.86 kB / 0.5172 GB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.668e-05/0.5131, allocations: 40.14 kB / 0.5172 GB, free: 35.05 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.0003937/0.5134, allocations: 241.1 kB / 0.5175 GB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.5137, allocations: 70.28 kB / 0.5175 GB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.5155, allocations: 0.7223 MB / 0.5183 GB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.5155, allocations: 3 kB / 0.5183 GB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.5155, allocations: 9.062 kB / 0.5183 GB, free: 34.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.5156, allocations: 1.969 kB / 0.5183 GB, free: 34.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.5178, allocations: 1.204 MB / 0.5194 GB, free: 33.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.5178, allocations: 4.859 kB / 0.5194 GB, free: 33.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.518, allocations: 41.33 kB / 0.5195 GB, free: 33.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009389/0.519, allocations: 201.9 kB / 0.5197 GB, free: 33.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.519, allocations: 10.19 kB / 0.5197 GB, free: 33.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008842/0.5199, allocations: 1.295 MB / 0.521 GB, free: 32.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5199, allocations: 4.562 kB / 0.521 GB, free: 32.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.5212, allocations: 0.8359 MB / 0.5218 GB, free: 32.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003598/0.5216, allocations: 186.1 kB / 0.5219 GB, free: 32.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.5218, allocations: 8.547 kB / 0.522 GB, free: 32.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004642/0.5222, allocations: 26.34 kB / 0.522 GB, free: 32.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.353e-05/0.5223, allocations: 28.66 kB / 0.522 GB, free: 32.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.676e-05/0.5224, allocations: 22.86 kB / 0.522 GB, free: 32.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007503/0.5232, allocations: 448.5 kB / 0.5225 GB, free: 31.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5232, allocations: 0 / 0.5225 GB, free: 31.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001199/0.5244, allocations: 258 kB / 0.5227 GB, free: 31.83 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.002426/0.5268, allocations: 1.687 MB / 0.5244 GB, free: 30.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.5281, allocations: 0.5056 MB / 0.5248 GB, free: 30.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.5281, allocations: 2.359 kB / 0.5248 GB, free: 30.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000565/0.5287, allocations: 229.3 kB / 0.5251 GB, free: 30.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.5304, allocations: 320.7 kB / 0.5254 GB, free: 30.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009785/0.5402, allocations: 10.29 MB / 0.5354 GB, free: 21.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006713/0.5409, allocations: 0.9481 MB / 0.5364 GB, free: 21.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001121/0.542, allocations: 262.9 kB / 0.5366 GB, free: 21.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003308/0.5424, allocations: 228 kB / 0.5368 GB, free: 21.04 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5424, allocations: 0 / 0.5368 GB, free: 21.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03829/0.5807, allocations: 20.51 MB / 0.5568 GB, free: 4.773 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000292/0.581, allocations: 273.7 kB / 0.5571 GB, free: 4.422 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.281/2.862, allocations: 7.688 kB / 0.5571 GB, free: 4.418 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat