Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.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.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008417/0.008417, allocations: 102.3 kB / 15.73 MB, free: 6.059 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.001573/0.001573, allocations: 191 kB / 16.67 MB, free: 5.969 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.569/1.569, allocations: 205.1 MB / 222.5 MB, free: 4.375 MB / 174.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.001231/0.001231, allocations: 50.73 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1034, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005949/0.1094, allocations: 4.468 MB / 377.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.1114, allocations: 1.822 MB / 379.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.1114, allocations: 0 / 379.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.1118, allocations: 39.73 kB / 379.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003785/0.1122, allocations: 127.2 kB / 379.6 MB, free: 10.81 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006539/0.1128, allocations: 255.3 kB / 379.9 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.1132, allocations: 290.9 kB / 380.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.763e-05/0.1132, allocations: 13.12 kB / 380.2 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.1135, allocations: 131.6 kB / 380.3 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1136, allocations: 75.69 kB / 380.4 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.1137, allocations: 8 kB / 380.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.1139, allocations: 95.88 kB / 380.5 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.887e-05/0.114, allocations: 39.89 kB / 380.5 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.1141, allocations: 79.64 kB / 380.6 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.1145, allocations: 203.4 kB / 380.8 MB, free: 9.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.1145, allocations: 4 kB / 380.8 MB, free: 9.637 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1145, allocations: 3.938 kB / 380.8 MB, free: 9.633 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.1145, allocations: 4 kB / 380.8 MB, free: 9.629 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009981/0.1155, allocations: 491.3 kB / 381.3 MB, free: 9.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.1156, allocations: 8.031 kB / 381.3 MB, free: 9.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/0.1158, allocations: 28.73 kB / 381.3 MB, free: 9.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.1161, allocations: 208.2 kB / 381.5 MB, free: 8.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.1161, allocations: 12.66 kB / 381.5 MB, free: 8.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.1162, allocations: 16.38 kB / 381.5 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.1166, allocations: 212.8 kB / 381.7 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.1166, allocations: 7.938 kB / 381.8 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.1167, allocations: 7.984 kB / 381.8 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.1167, allocations: 4 kB / 381.8 MB, free: 8.547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003549/0.117, allocations: 151.8 kB / 381.9 MB, free: 8.398 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.1183, allocations: 0.9439 MB / 382.9 MB, free: 7.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/0.1187, allocations: 150.8 kB / 383 MB, free: 7.223 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.1189, allocations: 60.77 kB / 383.1 MB, free: 7.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005123/0.1194, allocations: 0.4954 MB / 383.6 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.1195, allocations: 42.56 kB / 383.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.1195, allocations: 0 / 383.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002507/0.122, allocations: 0.7592 MB / 384.4 MB, free: 5.738 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.122, allocations: 51.41 kB / 384.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.1222, allocations: 166.2 kB / 384.6 MB, free: 5.504 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.1222, allocations: 29.7 kB / 384.6 MB, free: 5.469 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.637e-05/0.1223, allocations: 135.9 kB / 384.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.575e-05/0.1223, allocations: 78.92 kB / 384.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.958e-05/0.1225, allocations: 65.59 kB / 384.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1226, allocations: 322.8 kB / 385.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.1228, allocations: 79.94 kB / 385.3 MB, free: 4.777 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.1231, allocations: 189.7 kB / 385.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005412/0.1237, allocations: 298.1 kB / 385.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1237, allocations: 4 kB / 385.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000666/0.1244, allocations: 324.9 kB / 386.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1244, allocations: 4 kB / 386.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1244, allocations: 4 kB / 386.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.1244, allocations: 8 kB / 386.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.1248, allocations: 84.36 kB / 386.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.1248, allocations: 7.938 kB / 386.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.125, allocations: 19.98 kB / 386.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.1251, allocations: 8 kB / 386.2 MB, free: 3.742 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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 prepare postOptimizeDAE: time 0.000125/0.1252, allocations: 145.6 kB / 386.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.1253, allocations: 11.91 kB / 386.4 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006207/0.1259, allocations: 246.7 kB / 386.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1259, allocations: 4 kB / 386.6 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1259, allocations: 0 / 386.6 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1259, allocations: 0 / 386.6 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.1272, allocations: 0.5953 MB / 387.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1272, allocations: 0 / 387.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002846/0.1275, allocations: 56.08 kB / 387.2 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.1275, allocations: 4 kB / 387.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.1275, allocations: 4 kB / 387.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.1275, allocations: 15.84 kB / 387.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1275, allocations: 4 kB / 387.3 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007936/0.1283, allocations: 399.1 kB / 387.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.1284, allocations: 92.89 kB / 387.8 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.1284, allocations: 15.92 kB / 387.8 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.1287, allocations: 12.06 kB / 387.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.1287, allocations: 23.91 kB / 387.8 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.1288, allocations: 4 kB / 387.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.802e-05/0.1288, allocations: 115.2 kB / 387.9 MB, free: 1.883 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1288, allocations: 0 / 387.9 MB, free: 1.883 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003771/0.1292, allocations: 60 kB / 388 MB, free: 1.824 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (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 (20): * Single equations (assignments): 20 * 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.0002416/0.1295, allocations: 135.1 kB / 388.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005739/0.13, allocations: 232.1 kB / 388.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.1301, allocations: 0 / 388.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.1303, allocations: 87.88 kB / 388.4 MB, free: 1.371 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.1307, allocations: 36.61 kB / 388.5 MB, free: 1.336 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.1317, allocations: 464 kB / 388.9 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.132, allocations: 0.7168 MB / 389.6 MB, free: 104 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002096/0.1323, allocations: 49.86 kB / 389.7 MB, free: 56 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.627e-05/0.1324, allocations: 27.42 kB / 389.7 MB, free: 28 kB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1324, allocations: 0 / 389.7 MB, free: 28 kB / 318.1 MB Notification: Performance of Templates: time 0.006335/0.1387, allocations: 2.723 MB / 392.4 MB, free: 13.3 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1)