Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.001775/0.001775, allocations: 109.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.001886/0.001886, allocations: 221.1 kB / 22.25 MB, free: 3.582 MB / 13.93 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 1.715/1.715, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] 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.06864/0.06864, allocations: 11.33 MB / 323.8 MB, free: 6.773 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.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") [Timeout 660] "Notification: OpenHydraulics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003687/0.003687, allocations: 67.89 kB / 451.2 MB, free: 35.22 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09138/0.09506, allocations: 55.96 MB / 0.4953 GB, free: 11.19 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.004681/0.09974, allocations: 2.722 MB / 0.498 GB, free: 8.445 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003666/0.1034, allocations: 1.955 MB / 0.4999 GB, free: 6.484 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.1036, allocations: 0 / 0.4999 GB, free: 6.484 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.1038, allocations: 55.5 kB / 0.4999 GB, free: 6.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004369/0.1043, allocations: 158.9 kB / 0.5001 GB, free: 6.273 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009861/0.1053, allocations: 402.5 kB / 0.5004 GB, free: 5.879 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007696/0.106, allocations: 378.2 kB / 0.5008 GB, free: 5.508 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.1062, allocations: 53.42 kB / 0.5009 GB, free: 5.449 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.1065, allocations: 135.6 kB / 0.501 GB, free: 5.316 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.1068, allocations: 139.3 kB / 0.5011 GB, free: 5.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.481e-05/0.1069, allocations: 24 kB / 0.5011 GB, free: 5.156 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005328/0.1074, allocations: 247.8 kB / 0.5014 GB, free: 4.914 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.41e-05/0.1075, allocations: 67.7 kB / 0.5014 GB, free: 4.848 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.1077, allocations: 131.4 kB / 0.5016 GB, free: 4.719 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008237/0.1085, allocations: 474.4 kB / 0.502 GB, free: 4.254 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.587e-05/0.1086, allocations: 0 / 0.502 GB, free: 4.254 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1086, allocations: 0 / 0.502 GB, free: 4.254 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.046e-06/0.1086, allocations: 0 / 0.502 GB, free: 4.254 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001093/0.1097, allocations: 0.5281 MB / 0.5025 GB, free: 3.691 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1097, allocations: 15.98 kB / 0.5026 GB, free: 3.676 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.1099, allocations: 40.73 kB / 0.5026 GB, free: 3.637 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.1103, allocations: 222 kB / 0.5028 GB, free: 3.395 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.1103, allocations: 16.88 kB / 0.5028 GB, free: 3.379 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/0.1104, allocations: 27.94 kB / 0.5028 GB, free: 3.352 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000614/0.111, allocations: 296.4 kB / 0.5031 GB, free: 3.043 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.111, allocations: 4 kB / 0.5031 GB, free: 3.039 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.111, allocations: 8 kB / 0.5031 GB, free: 3.031 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.1111, allocations: 8 kB / 0.5031 GB, free: 3.023 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.1115, allocations: 221.8 kB / 0.5034 GB, free: 2.805 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.1134, allocations: 0.7953 MB / 0.5041 GB, free: 1.973 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.1138, allocations: 142.6 kB / 0.5043 GB, free: 1.824 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.1139, allocations: 78.33 kB / 0.5043 GB, free: 1.746 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.114, allocations: 11.98 kB / 0.5044 GB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.1141, allocations: 42.56 kB / 0.5044 GB, free: 1.684 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.743e-06/0.1141, allocations: 0 / 0.5044 GB, free: 1.684 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.002013/0.1161, allocations: 0.6584 MB / 0.505 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.1161, allocations: 55.41 kB / 0.5051 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.1164, allocations: 215.1 kB / 0.5053 GB, free: 0.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.1164, allocations: 33.64 kB / 0.5053 GB, free: 0.668 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.1166, allocations: 168.6 kB / 0.5055 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.636e-05/0.1167, allocations: 75.34 kB / 0.5056 GB, free: 432 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.1168, allocations: 53.92 kB / 0.5056 GB, free: 372 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.117, allocations: 326.8 kB / 0.5059 GB, free: 36 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.1172, allocations: 85.7 kB / 0.506 GB, free: 15.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.1175, allocations: 155.2 kB / 0.5062 GB, free: 15.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.1179, allocations: 204.1 kB / 0.5064 GB, free: 15.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1179, allocations: 4 kB / 0.5064 GB, free: 15.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006024/0.1185, allocations: 261.3 kB / 0.5066 GB, free: 15.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1185, allocations: 4 kB / 0.5066 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1185, allocations: 0 / 0.5066 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1185, allocations: 4 kB / 0.5066 GB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.1189, allocations: 67.89 kB / 0.5067 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.1189, allocations: 7.984 kB / 0.5067 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.119, allocations: 8.156 kB / 0.5067 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.119, allocations: 16 kB / 0.5067 GB, free: 15.18 MB / 378.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: 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 (28): * Single equations (assignments): 28 * 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.0002126/0.1192, allocations: 149.8 kB / 0.5069 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.8e-05/0.1193, allocations: 23.8 kB / 0.5069 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006076/0.1199, allocations: 254.4 kB / 0.5071 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.1199, allocations: 0 / 0.5071 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1199, allocations: 4 kB / 0.5071 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1199, allocations: 48 / 0.5071 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.1212, allocations: 0.5264 MB / 0.5076 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.1212, allocations: 0 / 0.5076 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/0.1215, allocations: 63.95 kB / 0.5077 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1215, allocations: 0 / 0.5077 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.1215, allocations: 8 kB / 0.5077 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1215, allocations: 0 / 0.5077 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1215, allocations: 0 / 0.5077 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007945/0.1223, allocations: 403.7 kB / 0.5081 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1224, allocations: 39.83 kB / 0.5081 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.1225, allocations: 0 / 0.5081 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.1226, allocations: 15.98 kB / 0.5081 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.906e-05/0.1227, allocations: 19.91 kB / 0.5082 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.1227, allocations: 4 kB / 0.5082 GB, free: 13.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001901/0.1229, allocations: 164.3 kB / 0.5083 GB, free: 13.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1229, allocations: 0 / 0.5083 GB, free: 13.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005221/0.1234, allocations: 119.8 kB / 0.5084 GB, free: 13.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.0003818/0.1238, allocations: 182.9 kB / 0.5086 GB, free: 13.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005132/0.1243, allocations: 170.1 kB / 0.5088 GB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.1243, allocations: 4.312 kB / 0.5088 GB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.1245, allocations: 87.89 kB / 0.5089 GB, free: 12.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.1249, allocations: 36.66 kB / 0.5089 GB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.1263, allocations: 0.6292 MB / 0.5095 GB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.1264, allocations: 150.9 kB / 0.5097 GB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001461/0.1266, allocations: 29.88 kB / 0.5097 GB, free: 12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.1267, allocations: 35.36 kB / 0.5097 GB, free: 11.97 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.1267, allocations: 4 kB / 0.5097 GB, free: 11.96 MB / 378.7 MB Notification: Performance of Templates: time 0.01056/0.1372, allocations: 4.529 MB / 0.5141 GB, free: 7.516 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.178580983076245]