Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 114.9 kB / 16.63 MB, free: 6.812 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.001017/0.001017, allocations: 186 kB / 17.55 MB, free: 5.934 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.358/1.358, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001134/0.001134, allocations: 43.94 kB / 279.5 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08948/0.09062, allocations: 46.63 MB / 326.2 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01494/0.1056, allocations: 15.82 MB / 342 MB, free: 4.887 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.1079, allocations: 1.901 MB / 343.9 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.1081, allocations: 4 kB / 343.9 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005293/0.1086, allocations: 147.2 kB / 344 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005402/0.1092, allocations: 294.5 kB / 344.3 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006412/0.1098, allocations: 263.6 kB / 344.6 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007286/0.1106, allocations: 0.8368 MB / 345.4 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.1108, allocations: 100.7 kB / 345.5 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007896/0.1116, allocations: 0.4942 MB / 346 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002921/0.1119, allocations: 290.8 kB / 346.3 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.112, allocations: 32 kB / 346.3 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.1121, allocations: 35.98 kB / 346.3 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.477e-05/0.1122, allocations: 91.72 kB / 346.4 MB, free: 416 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.1123, allocations: 183.3 kB / 346.6 MB, free: 232 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003881/0.1127, allocations: 430.9 kB / 347 MB, free: 15.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1127, allocations: 0 / 347 MB, free: 15.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1127, allocations: 0 / 347 MB, free: 15.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1128, allocations: 4 kB / 347 MB, free: 15.8 MB / 302.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.0008584/0.1136, allocations: 0.5848 MB / 347.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1137, allocations: 11.89 kB / 347.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002615/0.1139, allocations: 48.58 kB / 347.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.1143, allocations: 275.8 kB / 347.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.1143, allocations: 20.88 kB / 348 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/0.1143, allocations: 24.38 kB / 348 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.1148, allocations: 307.8 kB / 348.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1148, allocations: 4 kB / 348.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.1149, allocations: 12 kB / 348.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.1149, allocations: 8 kB / 348.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.1152, allocations: 197.5 kB / 348.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.1167, allocations: 1.436 MB / 349.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.117, allocations: 178.5 kB / 350.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.1171, allocations: 84.92 kB / 350.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.1171, allocations: 11.94 kB / 350.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1172, allocations: 34.56 kB / 350.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.413e-06/0.1172, allocations: 4 kB / 350.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.002412/0.1196, allocations: 0.9959 MB / 351.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.1196, allocations: 55.41 kB / 351.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.1199, allocations: 262.6 kB / 351.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.1199, allocations: 29.7 kB / 351.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.12, allocations: 180.2 kB / 351.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.511e-05/0.1201, allocations: 94.64 kB / 351.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.086e-05/0.1202, allocations: 77.39 kB / 351.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.1203, allocations: 330.8 kB / 352.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.1204, allocations: 83.97 kB / 352.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.1206, allocations: 186.8 kB / 352.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.121, allocations: 283 kB / 352.8 MB, free: 9.582 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.121, allocations: 4 kB / 352.8 MB, free: 9.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006356/0.1216, allocations: 382.7 kB / 353.2 MB, free: 9.191 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1217, allocations: 4 kB / 353.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1217, allocations: 4 kB / 353.2 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002475/0.1219, allocations: 69.98 kB / 353.3 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.1222, allocations: 63.91 kB / 353.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.1244, allocations: 2.879 MB / 356.2 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.1247, allocations: 23.92 kB / 356.2 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.1247, allocations: 16 kB / 356.2 MB, free: 5.848 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001843/0.1249, allocations: 143.1 kB / 356.4 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.43e-05/0.125, allocations: 27.78 kB / 356.4 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.939e-05/0.1251, allocations: 46.17 kB / 356.4 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.1251, allocations: 4 kB / 356.4 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1251, allocations: 0 / 356.4 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006491/0.1257, allocations: 0.5708 MB / 357 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009651/0.1267, allocations: 0.6951 MB / 357.7 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1267, allocations: 4 kB / 357.7 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.1269, allocations: 43.86 kB / 357.8 MB, free: 4.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000235/0.1272, allocations: 52.78 kB / 357.8 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.1272, allocations: 11.94 kB / 357.8 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.1283, allocations: 1.496 MB / 359.3 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1284, allocations: 0 / 359.3 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006763/0.129, allocations: 477 kB / 359.8 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/0.1291, allocations: 96.98 kB / 359.9 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.1292, allocations: 11.98 kB / 359.9 MB, free: 1.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.1294, allocations: 19.84 kB / 359.9 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.1295, allocations: 19.97 kB / 359.9 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.1295, allocations: 8 kB / 359.9 MB, free: 1.797 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002152/0.1297, allocations: 189.9 kB / 360.1 MB, free: 1.609 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1298, allocations: 0 / 360.1 MB, free: 1.609 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004199/0.1302, allocations: 88 kB / 360.2 MB, free: 1.523 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (24): * Single equations (assignments): 23 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001677/0.1304, allocations: 107.2 kB / 360.3 MB, free: 1.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008828/0.1312, allocations: 494 kB / 360.8 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1313, allocations: 0 / 360.8 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.1316, allocations: 234.5 kB / 361 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009408/0.1326, allocations: 168.2 kB / 361.2 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.1337, allocations: 0.7759 MB / 362 MB, free: 15.69 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.134, allocations: 0.7683 MB / 362.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002673/0.1343, allocations: 54.94 kB / 362.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.471e-05/0.1344, allocations: 23.44 kB / 362.8 MB, free: 14.82 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1344, allocations: 0 / 362.8 MB, free: 14.82 MB / 318.1 MB Notification: Performance of Templates: time 0.009632/0.144, allocations: 5.656 MB / 368.5 MB, free: 9.168 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)