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.001389/0.001389, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00171/0.00171, allocations: 193.6 kB / 16.13 MB, free: 6.652 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.354/1.354, allocations: 205.1 MB / 222 MB, free: 4.969 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04961/0.04961, allocations: 11.84 MB / 281.2 MB, free: 9.875 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.001303/0.001303, allocations: 67.73 kB / 341.1 MB, free: 22.46 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0973/0.09861, allocations: 49.22 MB / 390.4 MB, free: 5.188 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.003932/0.1026, allocations: 3.172 MB / 393.5 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.1047, allocations: 1.567 MB / 395.1 MB, free: 428 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1049, allocations: 4 kB / 395.1 MB, free: 424 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.1051, allocations: 35.7 kB / 395.1 MB, free: 388 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.1053, allocations: 91.36 kB / 395.2 MB, free: 296 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00058/0.1059, allocations: 283.1 kB / 395.5 MB, free: 16 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003255/0.1063, allocations: 322.4 kB / 395.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.1064, allocations: 68.61 kB / 395.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.1066, allocations: 103.6 kB / 396 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.1067, allocations: 127.4 kB / 396.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.1068, allocations: 12 kB / 396.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004221/0.1072, allocations: 203.6 kB / 396.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.195e-05/0.1073, allocations: 51.75 kB / 396.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.1074, allocations: 119.5 kB / 396.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.1079, allocations: 375.1 kB / 396.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1079, allocations: 0 / 396.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1079, allocations: 0 / 396.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.1079, allocations: 0 / 396.9 MB, free: 14.66 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.0009196/0.1088, allocations: 0.5379 MB / 397.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1089, allocations: 8.031 kB / 397.4 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.109, allocations: 32.64 kB / 397.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.1093, allocations: 259.6 kB / 397.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1093, allocations: 12.38 kB / 397.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.1094, allocations: 20 kB / 397.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.1098, allocations: 206.7 kB / 397.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.1098, allocations: 3.984 kB / 397.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.1098, allocations: 8 kB / 397.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1099, allocations: 8 kB / 397.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.1101, allocations: 143.2 kB / 398.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.1116, allocations: 1.118 MB / 399.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.1119, allocations: 138.5 kB / 399.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.112, allocations: 60.78 kB / 399.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/0.1123, allocations: 328.4 kB / 399.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.1123, allocations: 38.5 kB / 399.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.814e-06/0.1123, allocations: 4 kB / 399.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001595/0.1139, allocations: 0.6599 MB / 400.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.114, allocations: 55.41 kB / 400.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.1142, allocations: 211.2 kB / 400.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1142, allocations: 37.64 kB / 400.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.1143, allocations: 136.3 kB / 400.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.1144, allocations: 63.09 kB / 400.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.1144, allocations: 37.7 kB / 400.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1145, allocations: 334.8 kB / 401.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.1147, allocations: 72.75 kB / 401.3 MB, free: 9.734 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.1149, allocations: 101.9 kB / 401.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.1152, allocations: 169.9 kB / 401.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1152, allocations: 0 / 401.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003606/0.1155, allocations: 217.2 kB / 401.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1156, allocations: 4 kB / 401.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1156, allocations: 4 kB / 401.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1156, allocations: 0 / 401.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.1158, allocations: 55.95 kB / 401.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1159, allocations: 4 kB / 401.9 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.116, allocations: 16.08 kB / 401.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.116, allocations: 19.97 kB / 401.9 MB, free: 9.105 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.0001499/0.1162, allocations: 134.7 kB / 402.1 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.1162, allocations: 19.81 kB / 402.1 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004192/0.1166, allocations: 219.2 kB / 402.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1166, allocations: 0 / 402.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1167, allocations: 8 kB / 402.3 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1167, allocations: 3.938 kB / 402.3 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006838/0.1174, allocations: 0.5413 MB / 402.8 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1174, allocations: 4 kB / 402.8 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.1176, allocations: 63.89 kB / 402.9 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1176, allocations: 0 / 402.9 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.1177, allocations: 3.938 kB / 402.9 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1177, allocations: 8 kB / 402.9 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1177, allocations: 0 / 402.9 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.1182, allocations: 354.5 kB / 403.3 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.668e-05/0.1183, allocations: 112.9 kB / 403.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.1183, allocations: 3.938 kB / 403.4 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.1185, allocations: 16.05 kB / 403.4 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.1185, allocations: 15.98 kB / 403.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.1185, allocations: 4 kB / 403.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.1187, allocations: 171 kB / 403.6 MB, free: 7.344 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1187, allocations: 0 / 403.6 MB, free: 7.344 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003599/0.1191, allocations: 99.92 kB / 403.7 MB, free: 7.246 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.0002389/0.1193, allocations: 155.2 kB / 403.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003385/0.1197, allocations: 151.8 kB / 404 MB, free: 6.934 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1197, allocations: 0 / 404 MB, free: 6.934 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.1198, allocations: 71.91 kB / 404 MB, free: 6.863 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.1203, allocations: 64.77 kB / 404.1 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009309/0.1212, allocations: 0.6235 MB / 404.7 MB, free: 6.156 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.1215, allocations: 0.7404 MB / 405.5 MB, free: 5.391 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.1216, allocations: 34.27 kB / 405.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.034e-05/0.1217, allocations: 27.44 kB / 405.5 MB, free: 5.332 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1217, allocations: 0 / 405.5 MB, free: 5.332 MB / 302.1 MB Notification: Performance of Templates: time 0.006575/0.1282, allocations: 3.599 MB / 409.1 MB, free: 1.766 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)