Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 103.8 kB / 16.92 MB, free: 5.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 191.3 kB / 17.85 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 223.7 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 52.31 kB / 280 MB, free: 3.156 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08837/0.08965, allocations: 46.63 MB / 326.6 MB, free: 4.457 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01355/0.1032, allocations: 12.85 MB / 339.5 MB, free: 7.539 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002589/0.1059, allocations: 1.709 MB / 341.2 MB, free: 5.824 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.1062, allocations: 4 kB / 341.2 MB, free: 5.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006397/0.1069, allocations: 166.9 kB / 341.4 MB, free: 5.656 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006654/0.1075, allocations: 318.2 kB / 341.7 MB, free: 5.344 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009519/0.1085, allocations: 407 kB / 342.1 MB, free: 4.945 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007889/0.1093, allocations: 0.8251 MB / 342.9 MB, free: 4.117 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.1095, allocations: 92.69 kB / 343 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007426/0.1103, allocations: 398.6 kB / 343.4 MB, free: 3.637 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003716/0.1106, allocations: 262.9 kB / 343.6 MB, free: 3.379 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.696e-05/0.1107, allocations: 28 kB / 343.7 MB, free: 3.352 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003042/0.111, allocations: 103.8 kB / 343.8 MB, free: 3.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.1112, allocations: 99.7 kB / 343.9 MB, free: 3.152 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.1114, allocations: 183.2 kB / 344 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005181/0.1119, allocations: 466.9 kB / 344.5 MB, free: 2.516 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1119, allocations: 0 / 344.5 MB, free: 2.516 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1119, allocations: 3.938 kB / 344.5 MB, free: 2.512 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.617e-06/0.1119, allocations: 0 / 344.5 MB, free: 2.512 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007867/0.1127, allocations: 0.5848 MB / 345.1 MB, free: 1.879 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1128, allocations: 11.89 kB / 345.1 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002869/0.1131, allocations: 40.64 kB / 345.1 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.1135, allocations: 283.7 kB / 345.4 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.1135, allocations: 20.94 kB / 345.4 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.1135, allocations: 24.38 kB / 345.5 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.114, allocations: 321.5 kB / 345.8 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.114, allocations: 4 kB / 345.8 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.1141, allocations: 12 kB / 345.8 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-06/0.1141, allocations: 4 kB / 345.8 MB, free: 1.102 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.1144, allocations: 193.5 kB / 346 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.1163, allocations: 1.743 MB / 347.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.1166, allocations: 138.5 kB / 347.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.883e-05/0.1167, allocations: 64.83 kB / 347.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001661/0.1169, allocations: 174.2 kB / 348.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.1169, allocations: 30.56 kB / 348.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.1169, allocations: 0 / 348.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.00182/0.1187, allocations: 0.794 MB / 348.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.1188, allocations: 51.41 kB / 349 MB, free: 13.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.1191, allocations: 286.5 kB / 349.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.1191, allocations: 29.7 kB / 349.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.1192, allocations: 199.5 kB / 349.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.1193, allocations: 74.98 kB / 349.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.036e-05/0.1194, allocations: 77.39 kB / 349.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1195, allocations: 330.8 kB / 349.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.1197, allocations: 71.91 kB / 350 MB, free: 12.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.1199, allocations: 195.2 kB / 350.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.1202, allocations: 279.4 kB / 350.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1203, allocations: 3.938 kB / 350.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004911/0.1208, allocations: 337.7 kB / 350.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1208, allocations: 4 kB / 350.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.1208, allocations: 4 kB / 350.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001/0.1209, allocations: 28.73 kB / 350.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.1212, allocations: 87.89 kB / 350.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.1222, allocations: 1.399 MB / 352.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.1224, allocations: 8 kB / 352.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.1225, allocations: 20 kB / 352.4 MB, free: 9.945 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.1226, allocations: 161.6 kB / 352.5 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.191e-05/0.1227, allocations: 23.72 kB / 352.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.123, allocations: 202.6 kB / 352.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.123, allocations: 8.062 kB / 352.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.123, allocations: 0 / 352.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003508/0.1234, allocations: 487.7 kB / 353.2 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.1244, allocations: 0.776 MB / 354 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1244, allocations: 0 / 354 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.1246, allocations: 47.97 kB / 354 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1246, allocations: 4.047 kB / 354 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1247, allocations: 11.92 kB / 354.1 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1247, allocations: 7.938 kB / 354.1 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1247, allocations: 4 kB / 354.1 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.1251, allocations: 403.5 kB / 354.5 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-05/0.1252, allocations: 104.8 kB / 354.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.1253, allocations: 7.938 kB / 354.6 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.1255, allocations: 8 kB / 354.6 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.1255, allocations: 15.98 kB / 354.6 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.1256, allocations: 15.98 kB / 354.6 MB, free: 7.422 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.1258, allocations: 210 kB / 354.8 MB, free: 7.219 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.825e-06/0.1258, allocations: 0 / 354.8 MB, free: 7.219 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004408/0.1262, allocations: 95.94 kB / 354.9 MB, free: 7.125 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003756/0.1266, allocations: 131.2 kB / 355 MB, free: 6.988 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006017/0.1272, allocations: 318.3 kB / 355.3 MB, free: 6.664 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.1272, allocations: 4 kB / 355.4 MB, free: 6.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.1273, allocations: 77.22 kB / 355.4 MB, free: 6.586 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009877/0.1283, allocations: 160.9 kB / 355.6 MB, free: 6.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.1295, allocations: 0.6214 MB / 356.2 MB, free: 5.746 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.1299, allocations: 0.7639 MB / 357 MB, free: 4.957 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002883/0.1302, allocations: 64.59 kB / 357 MB, free: 4.895 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.1303, allocations: 27.44 kB / 357.1 MB, free: 4.867 MB / 302.1 MB Notification: Performance of SimCode: time 1.302e-06/0.1303, allocations: 0 / 357.1 MB, free: 4.867 MB / 302.1 MB Notification: Performance of Templates: time 0.01019/0.1405, allocations: 5.574 MB / 362.6 MB, free: 15.29 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)