Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001872/0.00188, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002038/0.002038, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2577/0.2577, allocations: 46.12 MB / 344.2 MB, free: 11.52 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 80.92 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.13, allocations: 62.45 MB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.02067/0.1508, allocations: 16.52 MB / 496.7 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008669/0.1595, allocations: 5.478 MB / 0.4905 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.1607, allocations: 19.88 kB / 0.4905 GB, free: 15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.1619, allocations: 310 kB / 0.4908 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002739/0.1647, allocations: 0.8238 MB / 0.4916 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003245/0.168, allocations: 1.011 MB / 0.4926 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002658/0.1706, allocations: 1.782 MB / 0.4943 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007755/0.1714, allocations: 453.3 kB / 0.4947 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.1729, allocations: 0.7513 MB / 0.4955 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009467/0.1739, allocations: 0.6149 MB / 0.4961 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.174, allocations: 60 kB / 0.4961 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.175, allocations: 363.5 kB / 0.4965 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003228/0.1754, allocations: 263.3 kB / 0.4967 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004774/0.1759, allocations: 398.2 kB / 0.4971 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.1775, allocations: 1.13 MB / 0.4982 GB, free: 7.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1775, allocations: 7.938 kB / 0.4982 GB, free: 7.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1775, allocations: 4 kB / 0.4982 GB, free: 7.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.1775, allocations: 0 / 0.4982 GB, free: 7.043 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.002127/0.1797, allocations: 1.044 MB / 0.4992 GB, free: 5.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.1797, allocations: 8.031 kB / 0.4992 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001352/0.1799, allocations: 98.64 kB / 0.4993 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003576/0.1802, allocations: 92.08 kB / 0.4994 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008711/0.1811, allocations: 0.5054 MB / 0.4999 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.1812, allocations: 96.97 kB / 0.5 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.629e-05/0.1814, allocations: 56.11 kB / 0.5001 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.1828, allocations: 0.8384 MB / 0.5009 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.1828, allocations: 0 / 0.5009 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-05/0.1829, allocations: 27.98 kB / 0.5009 GB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.887e-05/0.183, allocations: 44.97 kB / 0.501 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.1842, allocations: 0.6438 MB / 0.5016 GB, free: 3.402 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.199/0.3832, allocations: 4.346 MB / 0.5058 GB, free: 41.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007811/0.384, allocations: 351.2 kB / 0.5062 GB, free: 41.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.3843, allocations: 172.2 kB / 0.5063 GB, free: 41.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001878/0.3862, allocations: 1.701 MB / 0.508 GB, free: 39.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.3862, allocations: 43.12 kB / 0.508 GB, free: 39.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.084e-06/0.3862, allocations: 0 / 0.508 GB, free: 39.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003573/0.3898, allocations: 1.387 MB / 0.5094 GB, free: 39.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.3899, allocations: 134.5 kB / 0.5095 GB, free: 39.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007488/0.3907, allocations: 0.6291 MB / 0.5101 GB, free: 38.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.3907, allocations: 37.61 kB / 0.5102 GB, free: 38.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.391, allocations: 400.8 kB / 0.5105 GB, free: 38.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.533e-05/0.3911, allocations: 126.4 kB / 0.5107 GB, free: 38.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.3913, allocations: 149.5 kB / 0.5108 GB, free: 38.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.3914, allocations: 375.6 kB / 0.5112 GB, free: 37.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.3918, allocations: 187.8 kB / 0.5113 GB, free: 37.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000518/0.3923, allocations: 0.5577 MB / 0.5119 GB, free: 37.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008494/0.3931, allocations: 0.7818 MB / 0.5126 GB, free: 36.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.3932, allocations: 4.375 kB / 0.5127 GB, free: 36.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001462/0.3946, allocations: 0.8378 MB / 0.5135 GB, free: 36.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.3947, allocations: 10.03 kB / 0.5135 GB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.3947, allocations: 12.36 kB / 0.5135 GB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004526/0.3951, allocations: 98.59 kB / 0.5136 GB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/0.3958, allocations: 181.1 kB / 0.5138 GB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005005/0.3963, allocations: 0.6671 MB / 0.5144 GB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004944/0.3968, allocations: 25.12 kB / 0.5144 GB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.736e-05/0.3969, allocations: 45.53 kB / 0.5145 GB, free: 35.66 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003584/0.3973, allocations: 255.8 kB / 0.5147 GB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.3974, allocations: 73.36 kB / 0.5148 GB, free: 35.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008286/0.3982, allocations: 0.5078 MB / 0.5153 GB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.3982, allocations: 4.219 kB / 0.5153 GB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3983, allocations: 0 / 0.5153 GB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.3983, allocations: 10.19 kB / 0.5153 GB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.4, allocations: 1.217 MB / 0.5165 GB, free: 34.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.4, allocations: 5.281 kB / 0.5165 GB, free: 34.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/0.4003, allocations: 73.56 kB / 0.5166 GB, free: 34.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001878/0.4005, allocations: 45.73 kB / 0.5166 GB, free: 34.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.4006, allocations: 15.2 kB / 0.5166 GB, free: 34.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002637/0.4008, allocations: 0.5609 MB / 0.5172 GB, free: 33.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4008, allocations: 10.16 kB / 0.5172 GB, free: 33.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009343/0.4018, allocations: 0.7205 MB / 0.5179 GB, free: 33.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/0.402, allocations: 187.9 kB / 0.5181 GB, free: 33.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.4021, allocations: 22.14 kB / 0.5181 GB, free: 33.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.4025, allocations: 17.41 kB / 0.5181 GB, free: 33.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.4026, allocations: 27.78 kB / 0.5181 GB, free: 33.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.4026, allocations: 21.88 kB / 0.5181 GB, free: 33.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005729/0.4032, allocations: 470.2 kB / 0.5186 GB, free: 33.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4032, allocations: 3.938 kB / 0.5186 GB, free: 33.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009062/0.4041, allocations: 211.6 kB / 0.5188 GB, free: 33.01 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001521/0.4056, allocations: 1.402 MB / 0.5202 GB, free: 31.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.4069, allocations: 0.5232 MB / 0.5207 GB, free: 31.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.4069, allocations: 3.156 kB / 0.5207 GB, free: 31.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003793/0.4073, allocations: 180.1 kB / 0.5209 GB, free: 31.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.4092, allocations: 366.1 kB / 0.5212 GB, free: 31.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.4194, allocations: 6.564 MB / 0.5276 GB, free: 27.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005216/0.4199, allocations: 0.9388 MB / 0.5285 GB, free: 26.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001022/0.421, allocations: 211.8 kB / 0.5287 GB, free: 26.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000347/0.4213, allocations: 230.6 kB / 0.529 GB, free: 26.48 MB / 382.1 MB Notification: Performance of SimCode: time 1.243e-06/0.4213, allocations: 0 / 0.529 GB, free: 26.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04982/0.4712, allocations: 20.39 MB / 0.5489 GB, free: 10.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.43, allocations: 14.31 kB / 0.5489 GB, free: 10.26 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)