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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002088/0.002088, allocations: 190.9 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 207.6 MB / 233 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06032/0.06032, allocations: 12.01 MB / 297.3 MB, free: 9.879 MB / 238.1 MB " [Timeout remaining time 180] 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=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: 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.002308/0.002308, allocations: 75.88 kB / 416.8 MB, free: 42.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08842/0.09073, allocations: 51.94 MB / 468.7 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.004338/0.09506, allocations: 2.756 MB / 471.5 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.09754, allocations: 1.516 MB / 473 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.09766, allocations: 4 kB / 473 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.09783, allocations: 39.64 kB / 473 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.09818, allocations: 111.2 kB / 473.1 MB, free: 1.934 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.0007053/0.09889, allocations: 322.9 kB / 473.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004287/0.09932, allocations: 326.3 kB / 473.8 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.09948, allocations: 69.2 kB / 473.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.09964, allocations: 103.7 kB / 473.9 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.09986, allocations: 127.5 kB / 474 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.09989, allocations: 20 kB / 474.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003688/0.1003, allocations: 215.6 kB / 474.3 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-05/0.1003, allocations: 55.77 kB / 474.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.1005, allocations: 127.4 kB / 474.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005445/0.101, allocations: 382.7 kB / 474.8 MB, free: 224 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.101, allocations: 8 kB / 474.8 MB, free: 216 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.101, allocations: 0 / 474.8 MB, free: 216 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.101, allocations: 3.938 kB / 474.8 MB, free: 212 kB / 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.0009546/0.102, allocations: 485.1 kB / 475.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.102, allocations: 15.98 kB / 475.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.1021, allocations: 24.8 kB / 475.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.1024, allocations: 189.9 kB / 475.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.1025, allocations: 16.38 kB / 475.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.1025, allocations: 20 kB / 475.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004176/0.1029, allocations: 207.4 kB / 475.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.1029, allocations: 0 / 475.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.103, allocations: 15.98 kB / 475.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.103, allocations: 4 kB / 475.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003245/0.1033, allocations: 139.2 kB / 475.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.1048, allocations: 1.053 MB / 477 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.1051, allocations: 134.5 kB / 477.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.1052, allocations: 56.84 kB / 477.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.1054, allocations: 31.97 kB / 477.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.1054, allocations: 38.5 kB / 477.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.1054, allocations: 0 / 477.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001693/0.1071, allocations: 0.5865 MB / 477.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.1072, allocations: 51.41 kB / 477.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.1074, allocations: 219.2 kB / 478.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.1074, allocations: 25.7 kB / 478.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.1075, allocations: 140.4 kB / 478.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.684e-05/0.1076, allocations: 63.44 kB / 478.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.9e-05/0.1077, allocations: 45.58 kB / 478.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1078, allocations: 330.8 kB / 478.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.108, allocations: 72.75 kB / 478.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.1081, allocations: 97.98 kB / 478.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.1084, allocations: 177.7 kB / 479 MB, free: 11.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1084, allocations: 0 / 479 MB, free: 11.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003966/0.1088, allocations: 213.3 kB / 479.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1089, allocations: 6.344 kB / 479.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.433e-06/0.1089, allocations: 4 kB / 479.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1089, allocations: 4.156 kB / 479.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.1091, allocations: 59.89 kB / 479.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1091, allocations: 4 kB / 479.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.1092, allocations: 8 kB / 479.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.1093, allocations: 15.92 kB / 479.3 MB, free: 11.36 MB / 350.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.0001797/0.1095, allocations: 137.8 kB / 479.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.1095, allocations: 19.86 kB / 479.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000465/0.11, allocations: 223.3 kB / 479.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.11, allocations: 3.938 kB / 479.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.11, allocations: 4 kB / 479.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.11, allocations: 4.031 kB / 479.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008715/0.1109, allocations: 0.5238 MB / 480.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1109, allocations: 4 kB / 480.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.1111, allocations: 55.97 kB / 480.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1111, allocations: 0 / 480.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.1111, allocations: 7.984 kB / 480.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1111, allocations: 3.938 kB / 480.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1111, allocations: 0 / 480.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005583/0.1117, allocations: 355.2 kB / 480.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.03e-05/0.1118, allocations: 43.86 kB / 480.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.1118, allocations: 7.938 kB / 480.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.112, allocations: 11.98 kB / 480.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.112, allocations: 7.984 kB / 480.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.112, allocations: 11.98 kB / 480.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001648/0.1122, allocations: 163.1 kB / 480.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1122, allocations: 0 / 480.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003779/0.1126, allocations: 99.73 kB / 481 MB, free: 9.617 MB / 350.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.0002533/0.1128, allocations: 166.9 kB / 481.2 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003556/0.1132, allocations: 135.9 kB / 481.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1132, allocations: 0 / 481.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.1133, allocations: 67.91 kB / 481.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.1137, allocations: 64.27 kB / 481.4 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.1148, allocations: 0.564 MB / 482 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.1152, allocations: 0.744 MB / 482.7 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.1154, allocations: 34.27 kB / 482.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.1154, allocations: 31.42 kB / 482.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1154, allocations: 0 / 482.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of Templates: time 0.008609/0.124, allocations: 3.912 MB / 486.7 MB, free: 3.871 MB / 350.1 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=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5566425640136] Failed to read output from testmodel.py, exit status != 0: 0.13179949764162302 0.147648406 0.043297423 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe25b3ad7b0>