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.0007437/0.000744, allocations: 93.94 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.000858/0.0008579, allocations: 196.9 kB / 17.91 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.3 MB / 246 MB, free: 10.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2376/0.2376, allocations: 45.93 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002644/0.0002644, allocations: 7.938 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1565, allocations: 63.46 MB / 481.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.03025/0.1868, allocations: 23.53 MB / 0.4933 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007393/0.1942, allocations: 4.223 MB / 0.4975 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009385/0.1952, allocations: 23.75 kB / 0.4975 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008763/0.196, allocations: 238.5 kB / 0.4977 GB, free: 9.129 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.003825/0.1999, allocations: 1.412 MB / 0.4991 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002942/0.2028, allocations: 1.09 MB / 0.5002 GB, free: 6.633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002917/0.2058, allocations: 2.25 MB / 0.5024 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007774/0.2066, allocations: 397.2 kB / 0.5027 GB, free: 3.984 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005852/0.2124, allocations: 3.076 MB / 0.5057 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3112/0.5237, allocations: 1.336 MB / 0.507 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002881/0.524, allocations: 31.75 kB / 0.5071 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003833/0.5279, allocations: 1.126 MB / 0.5082 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005197/0.5284, allocations: 235.1 kB / 0.5084 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005153/0.5289, allocations: 166.3 kB / 0.5086 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00294/0.5319, allocations: 0.9745 MB / 0.5095 GB, free: 14.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.5319, allocations: 4.25 kB / 0.5095 GB, free: 14.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.529e-06/0.5319, allocations: 0 / 0.5095 GB, free: 14.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.5319, allocations: 3.828 kB / 0.5095 GB, free: 14.78 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.002984/0.5349, allocations: 0.9849 MB / 0.5105 GB, free: 14.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.408e-05/0.535, allocations: 9.75 kB / 0.5105 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/0.5352, allocations: 98.83 kB / 0.5106 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.5362, allocations: 150.7 kB / 0.5107 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009327/0.5371, allocations: 0.4948 MB / 0.5112 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.5373, allocations: 102.7 kB / 0.5113 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.5374, allocations: 55.59 kB / 0.5114 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.5392, allocations: 0.8327 MB / 0.5122 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.5393, allocations: 5.047 kB / 0.5122 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.495e-05/0.5394, allocations: 26.11 kB / 0.5122 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-05/0.5395, allocations: 42.56 kB / 0.5122 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.5409, allocations: 0.597 MB / 0.5128 GB, free: 13.61 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.005221/0.5462, allocations: 4.684 MB / 0.5174 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007284/0.5469, allocations: 332.2 kB / 0.5177 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.5472, allocations: 136.5 kB / 0.5178 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.5474, allocations: 416 kB / 0.5182 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.5475, allocations: 41.08 kB / 0.5183 GB, free: 9.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.174e-06/0.5475, allocations: 0 / 0.5183 GB, free: 9.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003974/0.5515, allocations: 1.535 MB / 0.5198 GB, free: 9.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.5515, allocations: 132 kB / 0.5199 GB, free: 8.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.5526, allocations: 0.6512 MB / 0.5205 GB, free: 8.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.5526, allocations: 31.45 kB / 0.5206 GB, free: 8.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.5529, allocations: 391.9 kB / 0.5209 GB, free: 8.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.5531, allocations: 133.7 kB / 0.5211 GB, free: 8.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.5531, allocations: 13.53 kB / 0.5211 GB, free: 8.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5533, allocations: 376.6 kB / 0.5214 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.5537, allocations: 204.7 kB / 0.5216 GB, free: 8.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005733/0.5543, allocations: 0.494 MB / 0.5221 GB, free: 7.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005092/0.5548, allocations: 299 kB / 0.5224 GB, free: 7.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.5548, allocations: 3.125 kB / 0.5224 GB, free: 7.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001556/0.5564, allocations: 0.857 MB / 0.5232 GB, free: 7.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.5564, allocations: 11.62 kB / 0.5233 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.5564, allocations: 8.938 kB / 0.5233 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.5578, allocations: 288.8 kB / 0.5235 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.5582, allocations: 118.8 kB / 0.5237 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/0.5592, allocations: 1.402 MB / 0.525 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006115/0.5598, allocations: 34.55 kB / 0.5251 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.622e-05/0.5599, allocations: 42.77 kB / 0.5251 GB, free: 6.648 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.0003895/0.5603, allocations: 252.3 kB / 0.5253 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.5604, allocations: 70.53 kB / 0.5254 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.562, allocations: 0.7088 MB / 0.5261 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.562, allocations: 11.98 kB / 0.5261 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.562, allocations: 0.8438 kB / 0.5261 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.562, allocations: 4.672 kB / 0.5261 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.564, allocations: 1.199 MB / 0.5273 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.564, allocations: 0 / 0.5273 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.5642, allocations: 45.05 kB / 0.5273 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000808/0.565, allocations: 199.5 kB / 0.5275 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.565, allocations: 15.59 kB / 0.5275 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007652/0.5658, allocations: 1.293 MB / 0.5288 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5658, allocations: 1.656 kB / 0.5288 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.567, allocations: 0.8145 MB / 0.5296 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/0.5674, allocations: 189.9 kB / 0.5298 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.844e-05/0.5675, allocations: 13.55 kB / 0.5298 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.5679, allocations: 23.09 kB / 0.5298 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.5679, allocations: 26.16 kB / 0.5298 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/0.568, allocations: 26.12 kB / 0.5299 GB, free: 4.617 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006727/0.5687, allocations: 444.4 kB / 0.5303 GB, free: 4.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5687, allocations: 0 / 0.5303 GB, free: 4.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001166/0.5698, allocations: 255.7 kB / 0.5305 GB, free: 4.508 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.002121/0.572, allocations: 1.523 MB / 0.532 GB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.5732, allocations: 0.5048 MB / 0.5325 GB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.5732, allocations: 7.453 kB / 0.5325 GB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005148/0.5738, allocations: 226.1 kB / 0.5327 GB, free: 3.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.5753, allocations: 316 kB / 0.533 GB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006704/0.5821, allocations: 4.145 MB / 0.5371 GB, free: 2.109 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.5825, allocations: 0.9331 MB / 0.538 GB, free: 1.402 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009125/0.5834, allocations: 256.3 kB / 0.5382 GB, free: 1.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/0.5837, allocations: 229.1 kB / 0.5385 GB, free: 1.348 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5837, allocations: 0 / 0.5385 GB, free: 1.348 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04289/0.6266, allocations: 20.53 MB / 0.5585 GB, free: 2.855 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003009/0.6269, allocations: 279.3 kB / 0.5588 GB, free: 2.504 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/2.986, allocations: 0 / 0.5588 GB, free: 2.504 MB / 398.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