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.001114/0.001114, allocations: 90.83 kB / 16.3 MB, free: 6.133 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.001135/0.001135, allocations: 182.5 kB / 17.2 MB, free: 6.016 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.519/1.519, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004327/0.0004327, allocations: 12 kB / 280.1 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09494/0.09539, allocations: 47.59 MB / 327.7 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01197/0.1074, allocations: 10.65 MB / 338.4 MB, free: 9.383 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.1095, allocations: 1.488 MB / 339.9 MB, free: 7.891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002779/0.1099, allocations: 4 kB / 339.9 MB, free: 7.887 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005538/0.1104, allocations: 147.3 kB / 340 MB, free: 7.742 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005469/0.111, allocations: 207.4 kB / 340.2 MB, free: 7.539 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009392/0.1119, allocations: 331.3 kB / 340.5 MB, free: 7.215 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007085/0.1127, allocations: 459.1 kB / 341 MB, free: 6.766 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.1129, allocations: 68.67 kB / 341 MB, free: 6.699 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006506/0.1135, allocations: 307.1 kB / 341.3 MB, free: 6.398 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003441/0.1139, allocations: 151.4 kB / 341.5 MB, free: 6.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.281e-05/0.114, allocations: 12 kB / 341.5 MB, free: 6.238 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.1143, allocations: 55.91 kB / 341.6 MB, free: 6.184 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.1144, allocations: 71.78 kB / 341.6 MB, free: 6.113 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.1145, allocations: 93.58 kB / 341.7 MB, free: 6.016 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.1149, allocations: 347.4 kB / 342.1 MB, free: 5.676 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.115, allocations: 0 / 342.1 MB, free: 5.676 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.115, allocations: 0 / 342.1 MB, free: 5.676 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.115, allocations: 0 / 342.1 MB, free: 5.676 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.0007697/0.1158, allocations: 0.5145 MB / 342.6 MB, free: 5.113 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1158, allocations: 8.031 kB / 342.6 MB, free: 5.105 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003377/0.1161, allocations: 47.62 kB / 342.6 MB, free: 5.059 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.1166, allocations: 274.5 kB / 342.9 MB, free: 4.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.1166, allocations: 20.56 kB / 342.9 MB, free: 4.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.1167, allocations: 27.94 kB / 342.9 MB, free: 4.703 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.1172, allocations: 313.3 kB / 343.3 MB, free: 4.359 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.1172, allocations: 11.88 kB / 343.3 MB, free: 4.348 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.1172, allocations: 12 kB / 343.3 MB, free: 4.336 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.1172, allocations: 8 kB / 343.3 MB, free: 4.328 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.1175, allocations: 189.5 kB / 343.5 MB, free: 4.145 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.1196, allocations: 1.732 MB / 345.2 MB, free: 2.266 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.1198, allocations: 130.5 kB / 345.3 MB, free: 2.129 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.12, allocations: 166.2 kB / 345.5 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.12, allocations: 46.52 kB / 345.5 MB, free: 1.875 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.1201, allocations: 0 / 345.5 MB, free: 1.875 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001821/0.1219, allocations: 0.795 MB / 346.3 MB, free: 1.012 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.1219, allocations: 59.34 kB / 346.4 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.1222, allocations: 278.5 kB / 346.7 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.1223, allocations: 29.7 kB / 346.7 MB, free: 0.625 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.1224, allocations: 203.5 kB / 346.9 MB, free: 432 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.722e-05/0.1225, allocations: 70.91 kB / 347 MB, free: 360 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/0.1225, allocations: 8 kB / 347 MB, free: 352 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1227, allocations: 334.8 kB / 347.3 MB, free: 8 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.1228, allocations: 71.83 kB / 347.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.1231, allocations: 191.1 kB / 347.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.1232, allocations: 95.98 kB / 347.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1233, allocations: 3.953 kB / 347.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005261/0.1238, allocations: 329.9 kB / 348 MB, free: 15.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1238, allocations: 8 kB / 348 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.1238, allocations: 8 kB / 348 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001095/0.124, allocations: 25.36 kB / 348 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.1243, allocations: 83.89 kB / 348.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.1254, allocations: 1.303 MB / 349.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.1257, allocations: 12 kB / 349.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.1257, allocations: 27.92 kB / 349.4 MB, free: 13.66 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 (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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002001/0.1259, allocations: 157.7 kB / 349.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.166e-05/0.126, allocations: 27.66 kB / 349.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/0.1264, allocations: 212.9 kB / 349.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1264, allocations: 4 kB / 349.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.1264, allocations: 0 / 349.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003601/0.1268, allocations: 475.8 kB / 350.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.1279, allocations: 0.776 MB / 351.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.1279, allocations: 4 kB / 351.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.1281, allocations: 51.84 kB / 351.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1281, allocations: 4 kB / 351.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.1281, allocations: 4 kB / 351.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.1281, allocations: 12.23 kB / 351.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1281, allocations: 4 kB / 351.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.1286, allocations: 0.502 MB / 351.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.887e-05/0.1287, allocations: 104.8 kB / 351.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.1288, allocations: 11.98 kB / 351.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.129, allocations: 8 kB / 351.8 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.1291, allocations: 27.94 kB / 351.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.1291, allocations: 19.98 kB / 351.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.1294, allocations: 197.9 kB / 352 MB, free: 10.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1294, allocations: 0 / 352 MB, free: 10.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004938/0.1299, allocations: 99.94 kB / 352.1 MB, free: 10.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002401/0.1301, allocations: 135.1 kB / 352.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005017/0.1306, allocations: 295 kB / 352.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1306, allocations: 0 / 352.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.1307, allocations: 77.17 kB / 352.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000888/0.1316, allocations: 146.1 kB / 352.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.1328, allocations: 0.7493 MB / 353.5 MB, free: 9.199 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.1331, allocations: 0.768 MB / 354.3 MB, free: 8.402 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002818/0.1334, allocations: 57.8 kB / 354.3 MB, free: 8.352 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.1335, allocations: 31.42 kB / 354.3 MB, free: 8.32 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1335, allocations: 0 / 354.3 MB, free: 8.32 MB / 302.1 MB Notification: Performance of Templates: time 0.01018/0.1437, allocations: 5.129 MB / 359.5 MB, free: 3.191 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: