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.001069/0.001069, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.414/1.414, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05453/0.05453, allocations: 11.84 MB / 281.6 MB, free: 9.469 MB / 238.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.001514/0.001514, allocations: 72.03 kB / 341.8 MB, free: 22.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.096/0.09753, allocations: 49.22 MB / 391 MB, free: 4.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.004249/0.1018, allocations: 2.714 MB / 393.8 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.104, allocations: 1.504 MB / 395.3 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1041, allocations: 4 kB / 395.3 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.1043, allocations: 31.7 kB / 395.3 MB, free: 472 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.1046, allocations: 111.2 kB / 395.4 MB, free: 360 kB / 286.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.0006216/0.1052, allocations: 326.9 kB / 395.7 MB, free: 32 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.1056, allocations: 314.5 kB / 396 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.1058, allocations: 85.12 kB / 396.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1059, allocations: 111.6 kB / 396.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.1061, allocations: 127.5 kB / 396.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.1062, allocations: 23.94 kB / 396.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003436/0.1065, allocations: 211.6 kB / 396.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.1066, allocations: 47.78 kB / 396.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.1067, allocations: 127.5 kB / 396.8 MB, free: 15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004524/0.1072, allocations: 391.1 kB / 397.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1072, allocations: 0 / 397.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1072, allocations: 0 / 397.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1072, allocations: 4 kB / 397.1 MB, free: 14.61 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007711/0.108, allocations: 0.5379 MB / 397.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.108, allocations: 11.89 kB / 397.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.1081, allocations: 24.66 kB / 397.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.1084, allocations: 247.6 kB / 398 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.1084, allocations: 16.31 kB / 398 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.1085, allocations: 20 kB / 398 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003906/0.1089, allocations: 214.7 kB / 398.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1089, allocations: 0 / 398.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.1089, allocations: 12 kB / 398.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1089, allocations: 4 kB / 398.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/0.1092, allocations: 143.3 kB / 398.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.1106, allocations: 1.118 MB / 399.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.1109, allocations: 134.6 kB / 399.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.111, allocations: 64.83 kB / 399.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/0.1113, allocations: 328.4 kB / 400 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.1113, allocations: 46.44 kB / 400 MB, free: 11.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.1113, allocations: 0 / 400 MB, free: 11.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001694/0.113, allocations: 0.6618 MB / 400.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.1131, allocations: 55.41 kB / 400.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.1133, allocations: 219.2 kB / 401 MB, free: 10.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.1133, allocations: 33.64 kB / 401 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.943e-05/0.1134, allocations: 136.3 kB / 401.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.1135, allocations: 63.09 kB / 401.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.57e-05/0.1135, allocations: 37.7 kB / 401.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1137, allocations: 330.8 kB / 401.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.1138, allocations: 68.77 kB / 401.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.114, allocations: 102 kB / 401.7 MB, free: 9.578 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.1143, allocations: 173.7 kB / 401.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1143, allocations: 0 / 401.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004209/0.1148, allocations: 221.2 kB / 402.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1148, allocations: 6.656 kB / 402.1 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1148, allocations: 4 kB / 402.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1148, allocations: 4 kB / 402.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.1151, allocations: 59.91 kB / 402.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.1151, allocations: 4 kB / 402.2 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.1152, allocations: 11.92 kB / 402.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.1152, allocations: 12 kB / 402.2 MB, free: 9.07 MB / 302.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.0001669/0.1154, allocations: 142.6 kB / 402.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.1155, allocations: 15.81 kB / 402.4 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004583/0.1159, allocations: 219 kB / 402.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.116, allocations: 7.984 kB / 402.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.116, allocations: 0 / 402.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.116, allocations: 3.938 kB / 402.6 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007885/0.1168, allocations: 0.5452 MB / 403.1 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1168, allocations: 0 / 403.1 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.1171, allocations: 59.91 kB / 403.2 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1171, allocations: 0 / 403.2 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.1171, allocations: 11.94 kB / 403.2 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1171, allocations: 0 / 403.2 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1171, allocations: 0 / 403.2 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005613/0.1177, allocations: 355.1 kB / 403.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.727e-05/0.1178, allocations: 112.9 kB / 403.7 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.194e-05/0.1178, allocations: 11.94 kB / 403.7 MB, free: 7.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.118, allocations: 7.984 kB / 403.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.118, allocations: 23.89 kB / 403.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.1181, allocations: 4 kB / 403.7 MB, free: 7.469 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.1182, allocations: 167.1 kB / 403.9 MB, free: 7.305 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1182, allocations: 4.062 kB / 403.9 MB, free: 7.301 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003851/0.1186, allocations: 92 kB / 404 MB, free: 7.211 MB / 302.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.0002599/0.1189, allocations: 167.1 kB / 404.1 MB, free: 7.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003834/0.1193, allocations: 151.8 kB / 404.3 MB, free: 6.887 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1193, allocations: 4 kB / 404.3 MB, free: 6.883 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.1195, allocations: 83.47 kB / 404.4 MB, free: 6.805 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.1199, allocations: 52.58 kB / 404.4 MB, free: 6.754 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.121, allocations: 0.5515 MB / 405 MB, free: 6.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.1214, allocations: 0.7556 MB / 405.7 MB, free: 5.395 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.1215, allocations: 30.27 kB / 405.7 MB, free: 5.367 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.1216, allocations: 23.44 kB / 405.8 MB, free: 5.344 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1216, allocations: 4 kB / 405.8 MB, free: 5.34 MB / 302.1 MB Notification: Performance of Templates: time 0.008816/0.1304, allocations: 3.765 MB / 409.5 MB, free: 1.609 MB / 302.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)