Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) 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(OpenHydraulics.DevelopmentTests.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") translateModel(OpenHydraulics.DevelopmentTests.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 109.2 kB / 16.41 MB, free: 6.027 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.001076/0.001076, allocations: 187.4 kB / 17.34 MB, free: 5.633 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.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05477/0.05477, allocations: 11.83 MB / 282.4 MB, free: 232 kB / 222.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: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 74.53 kB / 393 MB, free: 45.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1052, allocations: 49.23 MB / 442.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.003811/0.1091, allocations: 2.713 MB / 444.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.1116, allocations: 1.5 MB / 446.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002123/0.1119, allocations: 4 kB / 446.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.1121, allocations: 31.66 kB / 446.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003901/0.1125, allocations: 103.2 kB / 446.6 MB, free: 13.7 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Basic/BaseClasses/massFlowRate_dp_WallFriction.mo:82:9-82:71:writable] Warning: Re was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0009354/0.1135, allocations: 329.5 kB / 446.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.1139, allocations: 318.4 kB / 447.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.1141, allocations: 85.06 kB / 447.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.1144, allocations: 111.6 kB / 447.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.1146, allocations: 131.5 kB / 447.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.1146, allocations: 20 kB / 447.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003876/0.115, allocations: 219.6 kB / 447.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.794e-05/0.1151, allocations: 47.83 kB / 447.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.1152, allocations: 131.3 kB / 447.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005298/0.1158, allocations: 375 kB / 448.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.1158, allocations: 4 kB / 448.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1158, allocations: 0 / 448.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.1158, allocations: 4 kB / 448.3 MB, free: 11.96 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0009333/0.1168, allocations: 0.5418 MB / 448.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1168, allocations: 15.88 kB / 448.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.117, allocations: 28.66 kB / 448.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.1173, allocations: 251.5 kB / 449.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1173, allocations: 16.38 kB / 449.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.791e-05/0.1173, allocations: 20 kB / 449.2 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.1177, allocations: 214.7 kB / 449.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1178, allocations: 0 / 449.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.1178, allocations: 12 kB / 449.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-06/0.1178, allocations: 4 kB / 449.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.1181, allocations: 143.2 kB / 449.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.1196, allocations: 1.106 MB / 450.7 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.1199, allocations: 150.4 kB / 450.8 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.12, allocations: 52.84 kB / 450.9 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/0.1203, allocations: 336.4 kB / 451.2 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.1204, allocations: 38.5 kB / 451.2 MB, free: 8.723 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 3.236e-06/0.1204, allocations: 3.984 kB / 451.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001724/0.1221, allocations: 0.6527 MB / 451.9 MB, free: 8.016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.1222, allocations: 51.41 kB / 451.9 MB, free: 7.953 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.1224, allocations: 219.1 kB / 452.1 MB, free: 7.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.1224, allocations: 33.7 kB / 452.2 MB, free: 7.691 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.787e-05/0.1225, allocations: 136.3 kB / 452.3 MB, free: 7.555 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.1226, allocations: 63.02 kB / 452.4 MB, free: 7.492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.732e-05/0.1227, allocations: 49.69 kB / 452.4 MB, free: 7.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1228, allocations: 326.8 kB / 452.7 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.123, allocations: 72.69 kB / 452.8 MB, free: 7.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.1231, allocations: 103.7 kB / 452.9 MB, free: 6.914 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.1234, allocations: 169.9 kB / 453.1 MB, free: 6.727 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1235, allocations: 0 / 453.1 MB, free: 6.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003902/0.1239, allocations: 213.2 kB / 453.3 MB, free: 6.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1239, allocations: 4 kB / 453.3 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1239, allocations: 4 kB / 453.3 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.1239, allocations: 0 / 453.3 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.1242, allocations: 59.95 kB / 453.3 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1242, allocations: 7.938 kB / 453.4 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.1243, allocations: 12.14 kB / 453.4 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.1244, allocations: 19.88 kB / 453.4 MB, free: 6.406 MB / 334.1 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (22): * Single equations (assignments): 22 * 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.0001865/0.1245, allocations: 133.8 kB / 453.5 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.1246, allocations: 19.72 kB / 453.5 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004895/0.1251, allocations: 234.5 kB / 453.8 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1251, allocations: 0 / 453.8 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1251, allocations: 4 kB / 453.8 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1251, allocations: 4 kB / 453.8 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000776/0.1259, allocations: 0.5413 MB / 454.3 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1259, allocations: 0 / 454.3 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.1262, allocations: 51.95 kB / 454.4 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.1262, allocations: 4 kB / 454.4 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.1262, allocations: 8 kB / 454.4 MB, free: 5.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.1262, allocations: 3.938 kB / 454.4 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1263, allocations: 4 kB / 454.4 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/0.1268, allocations: 355.1 kB / 454.7 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.394e-05/0.1269, allocations: 108.8 kB / 454.8 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.127, allocations: 11.94 kB / 454.9 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.1271, allocations: 7.984 kB / 454.9 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.1272, allocations: 20.05 kB / 454.9 MB, free: 4.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.1272, allocations: 7.984 kB / 454.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001607/0.1274, allocations: 167.1 kB / 455.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1274, allocations: 0 / 455.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004174/0.1278, allocations: 91.92 kB / 455.1 MB, free: 4.547 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * 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.0003022/0.1281, allocations: 167 kB / 455.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003983/0.1285, allocations: 156.5 kB / 455.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1285, allocations: 4 kB / 455.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.1287, allocations: 75.69 kB / 455.5 MB, free: 4.148 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.1291, allocations: 60.7 kB / 455.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.1304, allocations: 0.565 MB / 456.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.1307, allocations: 0.7441 MB / 456.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.495e-05/0.1309, allocations: 27.42 kB / 456.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of SimCode: time 1.794e-06/0.1309, allocations: 0 / 456.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of Templates: time 0.007494/0.1384, allocations: 3.591 MB / 460.5 MB, free: 15.12 MB / 350.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1)