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.0008835/0.0008835, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009227/0.0009227, allocations: 181 kB / 23.36 MB, free: 1.133 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.9017/0.9017, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.05859/0.05859, allocations: 8.719 MB / 269 MB, free: 4.422 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.012e-06/1.012e-06, allocations: 0 / 288 MB, free: 1.363 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.951e-05, allocations: 5.547 kB / 288 MB, free: 1.359 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.1024/0.1024, allocations: 2.734 MB / 290.8 MB, free: 18.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.1042, allocations: 1.584 MB / 292.3 MB, free: 18.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.1043, allocations: 3.531 kB / 292.4 MB, free: 18.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.1044, allocations: 31.97 kB / 292.4 MB, free: 18.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.1047, allocations: 124 kB / 292.5 MB, free: 18.05 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 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.0006821/0.1054, allocations: 339.9 kB / 292.8 MB, free: 17.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.1057, allocations: 332.1 kB / 293.2 MB, free: 17.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1058, allocations: 64.19 kB / 293.2 MB, free: 17.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.106, allocations: 176.2 kB / 293.4 MB, free: 17.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.1062, allocations: 105.8 kB / 293.5 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.1062, allocations: 19.69 kB / 293.5 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002565/0.1065, allocations: 153.8 kB / 293.7 MB, free: 17.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.1065, allocations: 57.3 kB / 293.7 MB, free: 17.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.013e-05/0.1066, allocations: 98.62 kB / 293.8 MB, free: 17.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003792/0.107, allocations: 314 kB / 294.1 MB, free: 17.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.107, allocations: 0.7812 kB / 294.1 MB, free: 17.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.107, allocations: 3.938 kB / 294.1 MB, free: 17.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.107, allocations: 1.781 kB / 294.1 MB, free: 17.36 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.0004628/0.1075, allocations: 462.3 kB / 294.6 MB, free: 16.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.72e-05/0.1075, allocations: 8.969 kB / 294.6 MB, free: 16.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.1076, allocations: 51.52 kB / 294.6 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.1078, allocations: 172.1 kB / 294.8 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1078, allocations: 14.47 kB / 294.8 MB, free: 16.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.1079, allocations: 20.69 kB / 294.8 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.108, allocations: 207.4 kB / 295 MB, free: 16.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1081, allocations: 1.375 kB / 295 MB, free: 16.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1081, allocations: 11.12 kB / 295.1 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1081, allocations: 4.375 kB / 295.1 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.332e-05/0.1082, allocations: 51.09 kB / 295.1 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006069/0.1088, allocations: 0.5239 MB / 295.6 MB, free: 16.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.1089, allocations: 83.14 kB / 295.7 MB, free: 16.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/0.1089, allocations: 27.44 kB / 295.7 MB, free: 16.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.53e-05/0.109, allocations: 33.92 kB / 295.8 MB, free: 16.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.109, allocations: 33.81 kB / 295.8 MB, free: 16.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.109, allocations: 0 / 295.8 MB, free: 16.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002936/0.1093, allocations: 163.7 kB / 296 MB, free: 16.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.601e-05/0.1093, allocations: 53.56 kB / 296 MB, free: 16.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.648e-05/0.1094, allocations: 168.4 kB / 296.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.1094, allocations: 27.05 kB / 296.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.1095, allocations: 144 kB / 296.4 MB, free: 15.81 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.1095, allocations: 54.45 kB / 296.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.1095, allocations: 33.31 kB / 296.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.108e-05/0.1096, allocations: 335.8 kB / 296.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.351e-05/0.1096, allocations: 25.42 kB / 296.8 MB, free: 15.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.773e-05/0.1096, allocations: 61.64 kB / 296.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.554e-05/0.1097, allocations: 86.05 kB / 296.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1097, allocations: 2.75 kB / 296.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001104/0.1098, allocations: 101.4 kB / 297 MB, free: 15.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.1098, allocations: 9.062 kB / 297 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1098, allocations: 1.375 kB / 297.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1098, allocations: 5.453 kB / 297.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1099, allocations: 45.38 kB / 297.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.1099, allocations: 2.484 kB / 297.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.11, allocations: 16.7 kB / 297.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.11, allocations: 7.359 kB / 297.1 MB, free: 15.23 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.962e-05/0.1101, allocations: 130.1 kB / 297.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.1101, allocations: 12.97 kB / 297.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.1103, allocations: 140.5 kB / 297.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1103, allocations: 3.031 kB / 297.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.1103, allocations: 3.656 kB / 297.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1103, allocations: 2.156 kB / 297.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.1104, allocations: 137.2 kB / 297.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1104, allocations: 0 / 297.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.809e-05/0.1105, allocations: 43.72 kB / 297.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1105, allocations: 1.062 kB / 297.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1105, allocations: 9.5 kB / 297.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1105, allocations: 0.5156 kB / 297.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1105, allocations: 1 kB / 297.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.1107, allocations: 209.6 kB / 297.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.1107, allocations: 27.23 kB / 297.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.1107, allocations: 3 kB / 297.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.887e-05/0.1108, allocations: 7.219 kB / 297.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.1108, allocations: 9.469 kB / 297.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.1108, allocations: 3.141 kB / 297.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.074e-05/0.1109, allocations: 57.91 kB / 297.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1109, allocations: 5.062 kB / 297.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002467/0.1111, allocations: 105.9 kB / 298 MB, free: 14.7 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.0001729/0.1113, allocations: 156.5 kB / 298.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.1114, allocations: 71.14 kB / 298.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.1114, allocations: 1.406 kB / 298.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.066e-05/0.1114, allocations: 44.05 kB / 298.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.1116, allocations: 43.02 kB / 298.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007377/0.1124, allocations: 469.2 kB / 298.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.021e-05/0.1124, allocations: 79.95 kB / 298.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.879e-05/0.1125, allocations: 26.2 kB / 298.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.288e-05/0.1126, allocations: 86.27 kB / 299 MB, free: 14.12 MB / 266.7 MB Notification: Performance of SimCode: time 5.72e-07/0.1126, allocations: 0 / 299 MB, free: 14.12 MB / 266.7 MB Notification: Performance of Templates: time 0.005345/0.1179, allocations: 3.378 MB / 302.4 MB, free: 13.08 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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.662359294015914]