Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.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.001813/0.001813, allocations: 105.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.001924/0.001924, allocations: 221.7 kB / 22.25 MB, free: 3.57 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.688/1.688, allocations: 230.6 MB / 256 MB, free: 9.617 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.06657/0.06657, allocations: 11.33 MB / 323.8 MB, free: 6.875 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.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") [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.003668/0.003668, allocations: 75.83 kB / 451.2 MB, free: 35.24 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09074/0.09441, allocations: 55.97 MB / 0.4953 GB, free: 11.2 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.006708/0.1011, allocations: 3.984 MB / 0.4992 GB, free: 7.191 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004992/0.1061, allocations: 2.388 MB / 0.5015 GB, free: 4.797 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003893/0.1065, allocations: 19.88 kB / 0.5015 GB, free: 4.777 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005854/0.1071, allocations: 166.8 kB / 0.5017 GB, free: 4.613 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.1081, allocations: 417.5 kB / 0.5021 GB, free: 4.203 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.1094, allocations: 0.494 MB / 0.5026 GB, free: 3.707 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001401/0.1108, allocations: 1.054 MB / 0.5036 GB, free: 2.648 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003925/0.1112, allocations: 180.2 kB / 0.5038 GB, free: 2.469 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006128/0.1118, allocations: 386.5 kB / 0.5042 GB, free: 2.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006542/0.1124, allocations: 402.2 kB / 0.5045 GB, free: 1.695 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.1126, allocations: 64 kB / 0.5046 GB, free: 1.633 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006188/0.1132, allocations: 279.8 kB / 0.5049 GB, free: 1.359 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002362/0.1134, allocations: 191.2 kB / 0.505 GB, free: 1.172 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004108/0.1138, allocations: 338.4 kB / 0.5054 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.1154, allocations: 1.094 MB / 0.5064 GB, free: 15.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1154, allocations: 0 / 0.5064 GB, free: 15.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1154, allocations: 0 / 0.5064 GB, free: 15.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.1154, allocations: 0 / 0.5064 GB, free: 15.74 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002037/0.1174, allocations: 1.018 MB / 0.5074 GB, free: 14.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1175, allocations: 11.98 kB / 0.5074 GB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003074/0.1178, allocations: 100.4 kB / 0.5075 GB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008849/0.1187, allocations: 488.5 kB / 0.508 GB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.692e-05/0.1187, allocations: 45.31 kB / 0.508 GB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.956e-05/0.1188, allocations: 48 kB / 0.5081 GB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.12, allocations: 0.586 MB / 0.5087 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.1201, allocations: 7.891 kB / 0.5087 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.431e-05/0.1201, allocations: 20 kB / 0.5087 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.1201, allocations: 15.94 kB / 0.5087 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.1213, allocations: 0.5283 MB / 0.5092 GB, free: 12.82 MB / 378.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.003522/0.1248, allocations: 1.593 MB / 0.5108 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.1259, allocations: 431.8 kB / 0.5112 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003907/0.1262, allocations: 189 kB / 0.5114 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.479e-05/0.1263, allocations: 23.92 kB / 0.5114 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.1264, allocations: 42.5 kB / 0.5114 GB, free: 10.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.003e-06/0.1264, allocations: 0 / 0.5114 GB, free: 10.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.002888/0.1293, allocations: 1.168 MB / 0.5126 GB, free: 9.277 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.1293, allocations: 63.41 kB / 0.5126 GB, free: 9.203 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008125/0.1301, allocations: 0.5457 MB / 0.5132 GB, free: 8.648 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.1302, allocations: 33.7 kB / 0.5132 GB, free: 8.609 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.1305, allocations: 340.8 kB / 0.5135 GB, free: 8.273 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.1306, allocations: 158.6 kB / 0.5137 GB, free: 8.117 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002982/0.1309, allocations: 94.12 kB / 0.5138 GB, free: 8.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.1312, allocations: 370.8 kB / 0.5141 GB, free: 7.648 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.1315, allocations: 152.9 kB / 0.5143 GB, free: 7.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/0.132, allocations: 255.5 kB / 0.5145 GB, free: 7.211 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003513/0.1355, allocations: 0.938 MB / 0.5154 GB, free: 6.238 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1355, allocations: 4 kB / 0.5154 GB, free: 6.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001134/0.1366, allocations: 0.5313 MB / 0.5159 GB, free: 5.695 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.1367, allocations: 8 kB / 0.516 GB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1367, allocations: 7.875 kB / 0.516 GB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.1367, allocations: 8 kB / 0.516 GB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.1372, allocations: 120.2 kB / 0.5161 GB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.1373, allocations: 7.938 kB / 0.5161 GB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.1375, allocations: 19.98 kB / 0.5161 GB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/0.1376, allocations: 20 kB / 0.5161 GB, free: 5.508 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: j1.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = j1.p_init unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Pressure in the connection point\" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (checkValve1.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.000433/0.138, allocations: 229.7 kB / 0.5164 GB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.1381, allocations: 59.56 kB / 0.5164 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.1393, allocations: 0.5292 MB / 0.5169 GB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.1393, allocations: 4 kB / 0.5169 GB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.1393, allocations: 4 kB / 0.5169 GB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.1394, allocations: 7.969 kB / 0.5169 GB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.1414, allocations: 1.053 MB / 0.518 GB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1414, allocations: 0 / 0.518 GB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005398/0.142, allocations: 107.9 kB / 0.5181 GB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.142, allocations: 0 / 0.5181 GB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.142, allocations: 11.98 kB / 0.5181 GB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.142, allocations: 4 kB / 0.5181 GB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.142, allocations: 0 / 0.5181 GB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.1435, allocations: 0.7766 MB / 0.5188 GB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.1437, allocations: 91.61 kB / 0.5189 GB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.689e-05/0.1438, allocations: 15.94 kB / 0.5189 GB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.1441, allocations: 19.98 kB / 0.519 GB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.929e-05/0.1442, allocations: 28.38 kB / 0.519 GB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.1442, allocations: 12 kB / 0.519 GB, free: 2.492 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005674/0.1448, allocations: 402.8 kB / 0.5194 GB, free: 2.102 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1448, allocations: 0 / 0.5194 GB, free: 2.102 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006993/0.1455, allocations: 183.8 kB / 0.5196 GB, free: 1.922 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (circuitTank.volumeOpen.m,speed.phi,speed.w,j1.volumeClosed.port[2].p) * 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 (49): * Single equations (assignments): 49 * 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.002729/0.1482, allocations: 448.7 kB / 0.52 GB, free: 1.625 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009865/0.1492, allocations: 402.2 kB / 0.5204 GB, free: 1.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.1492, allocations: 0 / 0.5204 GB, free: 1.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004149/0.1496, allocations: 198.4 kB / 0.5206 GB, free: 1.035 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008553/0.1504, allocations: 158.4 kB / 0.5207 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002887/0.1533, allocations: 1.439 MB / 0.5221 GB, free: 15.42 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.1538, allocations: 344.9 kB / 0.5225 GB, free: 15.06 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004307/0.1542, allocations: 104.6 kB / 0.5226 GB, free: 14.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.1544, allocations: 55.42 kB / 0.5226 GB, free: 14.91 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1544, allocations: 0 / 0.5226 GB, free: 14.91 MB / 394.7 MB Notification: Performance of Templates: time 0.01947/0.1738, allocations: 9.602 MB / 0.532 GB, free: 5.469 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.404548730934039]