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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 80.81 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9587/0.9587, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.03644/0.03644, allocations: 8.719 MB / 269 MB, free: 4.418 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") translateModel(OpenHydraulics.DevelopmentTests.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 288.1 MB, free: 1.301 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131e-05/1.277e-05, allocations: 2.312 kB / 288.1 MB, free: 1.297 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.1091/0.1091, allocations: 2.778 MB / 290.9 MB, free: 18.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1108, allocations: 1.578 MB / 292.4 MB, free: 18.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.1109, allocations: 3.094 kB / 292.4 MB, free: 18.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.111, allocations: 34.02 kB / 292.5 MB, free: 18.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.1113, allocations: 127.2 kB / 292.6 MB, free: 17.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006067/0.1119, allocations: 329.4 kB / 292.9 MB, free: 17.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.1122, allocations: 327.1 kB / 293.2 MB, free: 17.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.1123, allocations: 64.05 kB / 293.3 MB, free: 17.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.1125, allocations: 176.6 kB / 293.5 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.1127, allocations: 101.7 kB / 293.6 MB, free: 17.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.1127, allocations: 20.19 kB / 293.6 MB, free: 17.47 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/Basic/BaseClasses/massFlowRate_dp_WallFriction.mo:82:9-82:71:writable] Warning: 'Re' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.113, allocations: 171.4 kB / 293.8 MB, free: 17.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.1131, allocations: 52.78 kB / 293.8 MB, free: 17.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.407e-05/0.1132, allocations: 94.7 kB / 293.9 MB, free: 17.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.1135, allocations: 317.9 kB / 294.2 MB, free: 17.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1135, allocations: 1.188 kB / 294.2 MB, free: 17.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1135, allocations: 4.781 kB / 294.2 MB, free: 17.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1135, allocations: 0 / 294.2 MB, free: 17.23 MB / 266.7 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.0004531/0.114, allocations: 462.8 kB / 294.7 MB, free: 16.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.793e-05/0.114, allocations: 9.938 kB / 294.7 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.1142, allocations: 47.45 kB / 294.7 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.1143, allocations: 173.7 kB / 294.9 MB, free: 16.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1143, allocations: 12.62 kB / 294.9 MB, free: 16.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.1144, allocations: 20.03 kB / 294.9 MB, free: 16.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.1146, allocations: 211.4 kB / 295.1 MB, free: 16.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1146, allocations: 0.625 kB / 295.1 MB, free: 16.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1146, allocations: 11.25 kB / 295.2 MB, free: 16.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1146, allocations: 3.844 kB / 295.2 MB, free: 16.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.87e-05/0.1147, allocations: 46.06 kB / 295.2 MB, free: 16.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006097/0.1153, allocations: 0.5333 MB / 295.7 MB, free: 16.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.1154, allocations: 81.09 kB / 295.8 MB, free: 16.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.1155, allocations: 28.25 kB / 295.8 MB, free: 16.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.551e-05/0.1156, allocations: 32.88 kB / 295.9 MB, free: 16.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.1156, allocations: 36.42 kB / 295.9 MB, free: 16.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.1156, allocations: 0.9375 kB / 295.9 MB, free: 16.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003058/0.1159, allocations: 157 kB / 296.1 MB, free: 16.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.431e-05/0.1159, allocations: 54.28 kB / 296.1 MB, free: 15.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.838e-05/0.116, allocations: 164.8 kB / 296.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.116, allocations: 29.09 kB / 296.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.116, allocations: 143.2 kB / 296.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.116, allocations: 55.05 kB / 296.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.1161, allocations: 36.95 kB / 296.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.262e-05/0.1161, allocations: 334.7 kB / 296.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.27e-05/0.1161, allocations: 29.98 kB / 296.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.977e-05/0.1162, allocations: 61.59 kB / 297 MB, free: 15.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.856e-05/0.1163, allocations: 83.39 kB / 297 MB, free: 15.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1163, allocations: 0 / 297 MB, free: 15.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001163/0.1164, allocations: 104.5 kB / 297.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1164, allocations: 6.281 kB / 297.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1164, allocations: 1.438 kB / 297.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1164, allocations: 2.562 kB / 297.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.1166, allocations: 67.69 kB / 297.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1166, allocations: 5.734 kB / 297.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/0.1166, allocations: 10.53 kB / 297.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1166, allocations: 8.531 kB / 297.2 MB, free: 15.1 MB / 266.7 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: 6 * 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 (19): * Single equations (assignments): 19 * 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 7.306e-05/0.1167, allocations: 124.7 kB / 297.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.1167, allocations: 12.33 kB / 297.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.1169, allocations: 138.6 kB / 297.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1169, allocations: 1.406 kB / 297.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.1169, allocations: 3.312 kB / 297.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1169, allocations: 6.391 kB / 297.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.1171, allocations: 136.7 kB / 297.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1171, allocations: 0 / 297.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.1172, allocations: 67.27 kB / 297.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1172, allocations: 1.094 kB / 297.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.1172, allocations: 5.859 kB / 297.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1172, allocations: 0 / 297.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1172, allocations: 1.859 kB / 297.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.1174, allocations: 208.9 kB / 297.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.1174, allocations: 26.98 kB / 298 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.1174, allocations: 2.766 kB / 298 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.044e-05/0.1175, allocations: 7.109 kB / 298 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.1175, allocations: 14.08 kB / 298 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.1175, allocations: 10.22 kB / 298 MB, free: 14.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.041e-05/0.1176, allocations: 51.62 kB / 298 MB, free: 14.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1176, allocations: 3.938 kB / 298 MB, free: 14.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000224/0.1178, allocations: 109.8 kB / 298.1 MB, free: 14.56 MB / 266.7 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 (17): * Single equations (assignments): 17 * 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.0001632/0.1179, allocations: 151.5 kB / 298.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.1181, allocations: 73.27 kB / 298.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.1181, allocations: 1.344 kB / 298.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/0.1181, allocations: 42.75 kB / 298.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.1183, allocations: 40.42 kB / 298.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000704/0.119, allocations: 469.1 kB / 298.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.609e-05/0.119, allocations: 78.64 kB / 299 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.721e-05/0.1191, allocations: 33.61 kB / 299 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.1192, allocations: 93.55 kB / 299.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1192, allocations: 0 / 299.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of Templates: time 0.005129/0.1243, allocations: 3.514 MB / 302.6 MB, free: 12.86 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.548970114905387]