Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000951/0.0009508, allocations: 97.84 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001032/0.001033, allocations: 197.7 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2377/0.2377, allocations: 45.92 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003078, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1474, allocations: 63.47 MB / 481.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01439/0.1618, allocations: 14.16 MB / 495.7 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007616/0.1695, allocations: 4.761 MB / 0.4887 GB, free: 2.289 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.1707, allocations: 27.75 kB / 0.4888 GB, free: 2.262 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009865/0.1717, allocations: 262.7 kB / 0.489 GB, free: 2.004 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002543/0.1743, allocations: 0.6854 MB / 0.4897 GB, free: 1.316 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.1772, allocations: 0.7935 MB / 0.4905 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002636/0.1798, allocations: 1.028 MB / 0.4915 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008367/0.1807, allocations: 381.4 kB / 0.4918 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.1821, allocations: 0.5608 MB / 0.4924 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006349/0.1827, allocations: 398.6 kB / 0.4927 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.872e-05/0.1828, allocations: 32 kB / 0.4928 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009168/0.1837, allocations: 235.8 kB / 0.493 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.184, allocations: 219.3 kB / 0.4932 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.1842, allocations: 169.3 kB / 0.4934 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009506/0.1852, allocations: 0.7835 MB / 0.4941 GB, free: 12.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1852, allocations: 0 / 0.4941 GB, free: 12.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1852, allocations: 0 / 0.4941 GB, free: 12.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.1852, allocations: 4 kB / 0.4941 GB, free: 12.73 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001938/0.1872, allocations: 0.9076 MB / 0.495 GB, free: 11.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.1872, allocations: 8.031 kB / 0.495 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.1874, allocations: 98.52 kB / 0.4951 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003356/0.1877, allocations: 95 kB / 0.4952 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009087/0.1886, allocations: 0.4928 MB / 0.4957 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.1887, allocations: 100.4 kB / 0.4958 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-05/0.1888, allocations: 55.98 kB / 0.4959 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.1901, allocations: 0.8229 MB / 0.4967 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.1901, allocations: 7.844 kB / 0.4967 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-05/0.1902, allocations: 24 kB / 0.4967 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.265e-05/0.1902, allocations: 40.94 kB / 0.4967 GB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.1913, allocations: 0.6399 MB / 0.4974 GB, free: 9.254 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.005199/0.1965, allocations: 4.36 MB / 0.5016 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/0.1971, allocations: 354.5 kB / 0.5019 GB, free: 4.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002097/0.1992, allocations: 1.717 MB / 0.5036 GB, free: 2.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.1993, allocations: 38.56 kB / 0.5037 GB, free: 2.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.1993, allocations: 0 / 0.5037 GB, free: 2.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003724/0.203, allocations: 1.403 MB / 0.505 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.213e-05/0.2031, allocations: 136.5 kB / 0.5052 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3047/0.5079, allocations: 0.6195 MB / 0.5058 GB, free: 42.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001389/0.508, allocations: 33.83 kB / 0.5058 GB, free: 42.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004265/0.5085, allocations: 400.1 kB / 0.5062 GB, free: 42.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.5086, allocations: 133.2 kB / 0.5063 GB, free: 42.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.5087, allocations: 14.69 kB / 0.5063 GB, free: 42.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5088, allocations: 379.6 kB / 0.5067 GB, free: 42.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/0.5092, allocations: 187.1 kB / 0.5069 GB, free: 42.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005558/0.5098, allocations: 0.5426 MB / 0.5074 GB, free: 41.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/0.5103, allocations: 296.6 kB / 0.5077 GB, free: 41.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.5103, allocations: 6.688 kB / 0.5077 GB, free: 41.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001843/0.5122, allocations: 0.8293 MB / 0.5085 GB, free: 41.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.5122, allocations: 9.969 kB / 0.5085 GB, free: 41.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/0.5122, allocations: 13.25 kB / 0.5085 GB, free: 41.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005207/0.5128, allocations: 101.8 kB / 0.5086 GB, free: 41.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006909/0.5135, allocations: 179.6 kB / 0.5088 GB, free: 41.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005393/0.514, allocations: 0.6674 MB / 0.5094 GB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006194/0.5147, allocations: 41.3 kB / 0.5095 GB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.829e-05/0.5147, allocations: 41.33 kB / 0.5095 GB, free: 41.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (87): * Single equations (assignments): 86 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000379/0.5151, allocations: 258.4 kB / 0.5098 GB, free: 40.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.5152, allocations: 70.92 kB / 0.5098 GB, free: 40.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009322/0.5162, allocations: 0.4983 MB / 0.5103 GB, free: 40.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.5162, allocations: 4.469 kB / 0.5103 GB, free: 40.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.5162, allocations: 2.734 kB / 0.5103 GB, free: 40.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.5162, allocations: 2.156 kB / 0.5103 GB, free: 40.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.5181, allocations: 1.217 MB / 0.5115 GB, free: 39.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.5181, allocations: 3.516 kB / 0.5115 GB, free: 39.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.5184, allocations: 72.44 kB / 0.5116 GB, free: 39.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001883/0.5186, allocations: 37.89 kB / 0.5116 GB, free: 39.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.5187, allocations: 15.88 kB / 0.5116 GB, free: 39.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002665/0.5189, allocations: 0.5657 MB / 0.5122 GB, free: 39.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.519, allocations: 3.188 kB / 0.5122 GB, free: 39.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.5201, allocations: 0.8692 MB / 0.513 GB, free: 38.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000377/0.5205, allocations: 194.2 kB / 0.5132 GB, free: 38.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.5206, allocations: 10.58 kB / 0.5132 GB, free: 38.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.521, allocations: 28.31 kB / 0.5133 GB, free: 38.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.916e-05/0.5211, allocations: 39.64 kB / 0.5133 GB, free: 38.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-05/0.5212, allocations: 23.69 kB / 0.5133 GB, free: 38.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006996/0.5219, allocations: 445.4 kB / 0.5137 GB, free: 38.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5219, allocations: 0.8438 kB / 0.5137 GB, free: 38.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001025/0.5229, allocations: 209.6 kB / 0.5139 GB, free: 38.35 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001878/0.5248, allocations: 2.356 MB / 0.5162 GB, free: 36.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.5261, allocations: 0.4933 MB / 0.5167 GB, free: 36.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.5262, allocations: 1.719 kB / 0.5167 GB, free: 36.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003657/0.5265, allocations: 175.5 kB / 0.5169 GB, free: 36.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.5282, allocations: 319.3 kB / 0.5172 GB, free: 36.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009348/0.5376, allocations: 12.11 MB / 0.529 GB, free: 25.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007433/0.5384, allocations: 0.9529 MB / 0.53 GB, free: 24.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009963/0.5394, allocations: 199.5 kB / 0.5301 GB, free: 24.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003176/0.5397, allocations: 230.2 kB / 0.5304 GB, free: 24.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.262e-06/0.5397, allocations: 0.9062 kB / 0.5304 GB, free: 24.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.041/0.5807, allocations: 18.47 MB / 0.5484 GB, free: 13.37 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.5809, allocations: 288.6 kB / 0.5487 GB, free: 13.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/2.737, allocations: 0 / 0.5487 GB, free: 13.01 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat