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.000889/0.000889, allocations: 84.44 kB / 19.93 MB, free: 4.613 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.0009156/0.0009156, allocations: 173.9 kB / 23.21 MB, free: 1.332 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.8767/0.8767, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.03429/0.03429, allocations: 8.706 MB / 268.7 MB, free: 4.719 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: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 395.4 MB, free: 1.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.139e-05, allocations: 6.281 kB / 395.4 MB, free: 1.512 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.00427/0.004301, allocations: 3.995 MB / 399.4 MB, free: 13.49 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.006554, allocations: 2.38 MB / 401.8 MB, free: 11.1 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.006732, allocations: 15.88 kB / 401.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003822/0.007114, allocations: 174.7 kB / 402 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007889/0.007903, allocations: 433.1 kB / 402.4 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.008484, allocations: 0.4982 MB / 402.9 MB, free: 9.992 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006558/0.009139, allocations: 1.092 MB / 404 MB, free: 8.895 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.009378, allocations: 176.3 kB / 404.2 MB, free: 8.719 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000445/0.009823, allocations: 0.5417 MB / 404.7 MB, free: 8.176 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003063/0.01013, allocations: 343 kB / 405.1 MB, free: 7.84 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.264e-05/0.01019, allocations: 68 kB / 405.1 MB, free: 7.773 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003116/0.0105, allocations: 279.6 kB / 405.4 MB, free: 7.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.01063, allocations: 195.2 kB / 405.6 MB, free: 7.309 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.01082, allocations: 283.2 kB / 405.9 MB, free: 7.031 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007855/0.01161, allocations: 1.114 MB / 407 MB, free: 5.914 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.01161, allocations: 0 / 407 MB, free: 5.914 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01161, allocations: 0 / 407 MB, free: 5.914 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.01162, allocations: 0 / 407 MB, free: 5.914 MB / 330.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.001045/0.01267, allocations: 1.008 MB / 408 MB, free: 4.875 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.0127, allocations: 16.02 kB / 408 MB, free: 4.859 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.01288, allocations: 92.42 kB / 408.1 MB, free: 4.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.01337, allocations: 476.1 kB / 408.6 MB, free: 4.277 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.01341, allocations: 45.69 kB / 408.6 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.091e-05/0.01347, allocations: 64.06 kB / 408.7 MB, free: 4.168 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006438/0.01411, allocations: 0.5821 MB / 409.2 MB, free: 3.574 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.01413, allocations: 3.984 kB / 409.2 MB, free: 3.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.01416, allocations: 20 kB / 409.3 MB, free: 3.551 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.01417, allocations: 16 kB / 409.3 MB, free: 3.535 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008721/0.01504, allocations: 0.5205 MB / 409.8 MB, free: 3.016 MB / 330.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.00183/0.01687, allocations: 1.605 MB / 411.4 MB, free: 1.359 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006075/0.01748, allocations: 435.1 kB / 411.8 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.01769, allocations: 180.8 kB / 412 MB, free: 0.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.887e-05/0.01775, allocations: 15.98 kB / 412 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.01777, allocations: 42.56 kB / 412.1 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 1.773e-06/0.01777, allocations: 3.938 kB / 412.1 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.1292/0.147, allocations: 1.171 MB / 413.2 MB, free: 28.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.147, allocations: 59.09 kB / 413.3 MB, free: 28.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004846/0.1475, allocations: 0.5454 MB / 413.8 MB, free: 28.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.1475, allocations: 36.78 kB / 413.9 MB, free: 28.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.1476, allocations: 346 kB / 414.2 MB, free: 28.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.1477, allocations: 155.6 kB / 414.4 MB, free: 28.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1478, allocations: 94.83 kB / 414.5 MB, free: 27.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.457e-05/0.1479, allocations: 367.3 kB / 414.8 MB, free: 27.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.1481, allocations: 157.1 kB / 415 MB, free: 27.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.1483, allocations: 256.3 kB / 415.2 MB, free: 27.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.15, allocations: 0.9463 MB / 416.2 MB, free: 27.06 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.15, allocations: 1.219 kB / 416.2 MB, free: 27.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00058/0.1506, allocations: 0.5273 MB / 416.7 MB, free: 26.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1506, allocations: 11.75 kB / 416.7 MB, free: 26.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.1506, allocations: 6.406 kB / 416.7 MB, free: 26.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1506, allocations: 7.531 kB / 416.7 MB, free: 26.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.1509, allocations: 119.5 kB / 416.8 MB, free: 26.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.1509, allocations: 5.969 kB / 416.8 MB, free: 26.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.151, allocations: 12.22 kB / 416.9 MB, free: 26.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.151, allocations: 25.83 kB / 416.9 MB, free: 26.81 MB / 330.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.0002446/0.1513, allocations: 239.5 kB / 417.1 MB, free: 26.63 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/0.1513, allocations: 59.27 kB / 417.2 MB, free: 26.6 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006284/0.1519, allocations: 0.5212 MB / 417.7 MB, free: 26.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1519, allocations: 7.906 kB / 417.7 MB, free: 26.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.152, allocations: 1.906 kB / 417.7 MB, free: 26.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.152, allocations: 2.297 kB / 417.7 MB, free: 26.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.1531, allocations: 1.043 MB / 418.8 MB, free: 25.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1531, allocations: 7.875 kB / 418.8 MB, free: 25.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.1534, allocations: 108.1 kB / 418.9 MB, free: 25.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1534, allocations: 4.047 kB / 418.9 MB, free: 25.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.1534, allocations: 15.73 kB / 418.9 MB, free: 25.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1534, allocations: 1.219 kB / 418.9 MB, free: 25.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1534, allocations: 2.031 kB / 418.9 MB, free: 25.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007558/0.1541, allocations: 0.769 MB / 419.7 MB, free: 25.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.1543, allocations: 106 kB / 419.8 MB, free: 25.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.1543, allocations: 9.453 kB / 419.8 MB, free: 25.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.1544, allocations: 16.08 kB / 419.8 MB, free: 25.35 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.1545, allocations: 33.56 kB / 419.8 MB, free: 25.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.1545, allocations: 15.5 kB / 419.8 MB, free: 25.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002844/0.1548, allocations: 393.1 kB / 420.2 MB, free: 25.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1548, allocations: 0 / 420.2 MB, free: 25.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003965/0.1552, allocations: 186.8 kB / 420.4 MB, free: 25.15 MB / 330.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.0009854/0.1562, allocations: 470.7 kB / 420.9 MB, free: 25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004991/0.1567, allocations: 396.9 kB / 421.2 MB, free: 24.88 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1567, allocations: 4 kB / 421.3 MB, free: 24.87 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.1569, allocations: 202.2 kB / 421.5 MB, free: 24.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.1573, allocations: 159 kB / 421.6 MB, free: 24.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.1588, allocations: 1.346 MB / 423 MB, free: 23.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.159, allocations: 341.4 kB / 423.3 MB, free: 23.87 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.1591, allocations: 66.34 kB / 423.4 MB, free: 23.86 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1591, allocations: 1.156 kB / 423.4 MB, free: 23.86 MB / 330.7 MB Notification: Performance of Templates: time 0.009735/0.1689, allocations: 9.809 MB / 433.2 MB, free: 20.12 MB / 330.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 > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.925405421061441]