Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.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.001841/0.001841, 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.001981/0.001981, allocations: 219.6 kB / 22.25 MB, free: 3.574 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.701/1.701, allocations: 230.6 MB / 256 MB, free: 9.582 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.06667/0.06667, allocations: 11.33 MB / 323.8 MB, free: 6.781 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.ReliefValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest") translateModel(OpenHydraulics.DevelopmentTests.ReliefValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest") [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.003657/0.003657, allocations: 75.83 kB / 451.2 MB, free: 35.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08794/0.09159, allocations: 55.95 MB / 0.4953 GB, free: 11.19 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ReliefValveTest): time 0.006981/0.09857, allocations: 4.022 MB / 0.4992 GB, free: 7.141 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005944/0.1045, allocations: 2.836 MB / 0.502 GB, free: 4.297 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000635/0.1052, allocations: 11.94 kB / 0.502 GB, free: 4.285 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006553/0.1058, allocations: 162.8 kB / 0.5022 GB, free: 4.125 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.1071, allocations: 385.6 kB / 0.5025 GB, free: 3.742 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.1088, allocations: 0.6222 MB / 0.5031 GB, free: 3.121 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.1105, allocations: 1.121 MB / 0.5042 GB, free: 1.996 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004298/0.1109, allocations: 189.2 kB / 0.5044 GB, free: 1.809 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007277/0.1116, allocations: 426.5 kB / 0.5048 GB, free: 1.391 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006765/0.1123, allocations: 418.2 kB / 0.5052 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.1124, allocations: 88 kB / 0.5053 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007073/0.1131, allocations: 311.8 kB / 0.5056 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.1134, allocations: 203.3 kB / 0.5058 GB, free: 400 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004438/0.1138, allocations: 366.4 kB / 0.5061 GB, free: 32 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002168/0.116, allocations: 1.223 MB / 0.5073 GB, free: 14.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.116, allocations: 0 / 0.5073 GB, free: 14.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.116, allocations: 4 kB / 0.5073 GB, free: 14.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.114e-05/0.116, allocations: 0 / 0.5073 GB, free: 14.8 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002229/0.1182, allocations: 1.04 MB / 0.5084 GB, free: 13.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1183, allocations: 11.98 kB / 0.5084 GB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.1185, allocations: 96.38 kB / 0.5085 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008799/0.1194, allocations: 463.9 kB / 0.5089 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.46e-05/0.1195, allocations: 41.31 kB / 0.5089 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.1196, allocations: 59.95 kB / 0.509 GB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.121, allocations: 0.7372 MB / 0.5097 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.121, allocations: 0 / 0.5097 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/0.1211, allocations: 20 kB / 0.5097 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.1211, allocations: 20 kB / 0.5098 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.1222, allocations: 0.5846 MB / 0.5103 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004145/0.1264, allocations: 1.893 MB / 0.5122 GB, free: 9.688 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.1274, allocations: 437 kB / 0.5126 GB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003906/0.1278, allocations: 202.5 kB / 0.5128 GB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-05/0.1279, allocations: 20.55 kB / 0.5128 GB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.1279, allocations: 38.5 kB / 0.5128 GB, free: 8.973 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.635e-06/0.1279, allocations: 8 kB / 0.5128 GB, free: 8.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.003929/0.1318, allocations: 1.364 MB / 0.5142 GB, free: 7.531 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.1319, allocations: 85.11 kB / 0.5143 GB, free: 7.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006828/0.1326, allocations: 461.9 kB / 0.5147 GB, free: 6.969 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.615e-05/0.1327, allocations: 41.7 kB / 0.5147 GB, free: 6.922 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000321/0.133, allocations: 324.8 kB / 0.515 GB, free: 6.602 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.1331, allocations: 150.8 kB / 0.5152 GB, free: 6.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.1333, allocations: 90.14 kB / 0.5153 GB, free: 6.359 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002302/0.1336, allocations: 362.7 kB / 0.5156 GB, free: 5.996 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.134, allocations: 216.5 kB / 0.5158 GB, free: 5.777 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005078/0.1345, allocations: 336.7 kB / 0.5162 GB, free: 5.387 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00324/0.1377, allocations: 1.083 MB / 0.5172 GB, free: 4.242 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.1377, allocations: 3.938 kB / 0.5172 GB, free: 4.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001219/0.1389, allocations: 0.6052 MB / 0.5178 GB, free: 3.609 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.804e-05/0.139, allocations: 33.7 kB / 0.5178 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.139, allocations: 0 / 0.5178 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002777/0.1393, allocations: 124.8 kB / 0.518 GB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.1398, allocations: 103.8 kB / 0.5181 GB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.142, allocations: 1.661 MB / 0.5197 GB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004445/0.1425, allocations: 43.94 kB / 0.5197 GB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.1425, allocations: 20.09 kB / 0.5197 GB, free: 1.516 MB / 378.7 MB Warning: Assuming fixed start value for the following 3 variables: constantSpeed.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real reliefValve.variableRestriction.port_a.p:VARIABLE(flow=false min = 0.0 start = idealPump.fluidPower2MechRot.p_init unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Pressure in the connection point\" type: Real reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) \"Normalized valve position (between 0 and 1)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 9 (reliefValve.variableRestriction.data.zetaLaminarKnown,idealPump.mechanicalPumpLosses.free,idealPump.mechanicalPumpLosses.mode,$PRE.idealPump.mechanicalPumpLosses.mode,idealPump.mechanicalPumpLosses.locked,idealPump.mechanicalPumpLosses.startBackward,$PRE.idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.startForward,$PRE.idealPump.mechanicalPumpLosses.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005436/0.143, allocations: 297.7 kB / 0.52 GB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.1432, allocations: 47.67 kB / 0.5201 GB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.1447, allocations: 0.5772 MB / 0.5206 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1447, allocations: 4 kB / 0.5206 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.1447, allocations: 4 kB / 0.5206 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.1447, allocations: 7.922 kB / 0.5206 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.147, allocations: 1.119 MB / 0.5217 GB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.515e-06/0.147, allocations: 4 kB / 0.5217 GB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004713/0.1475, allocations: 83.98 kB / 0.5218 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002311/0.1478, allocations: 112.7 kB / 0.5219 GB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.361e-05/0.1478, allocations: 15.94 kB / 0.5219 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/0.1497, allocations: 1.467 MB / 0.5234 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1497, allocations: 3.984 kB / 0.5234 GB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.1514, allocations: 0.8661 MB / 0.5242 GB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/0.1517, allocations: 107.5 kB / 0.5243 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.598e-05/0.1518, allocations: 12 kB / 0.5243 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.1522, allocations: 39.95 kB / 0.5244 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003207/0.1525, allocations: 131.7 kB / 0.5245 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.1526, allocations: 15.98 kB / 0.5245 GB, free: 12.37 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004797/0.153, allocations: 323.1 kB / 0.5248 GB, free: 12.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.153, allocations: 0 / 0.5248 GB, free: 12.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008269/0.1539, allocations: 207.7 kB / 0.525 GB, free: 11.85 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (reliefValve.variableRestriction.port_a.p,reliefValve.valvePosition,circuitTank.volumeOpen.m,constantSpeed.phi) * Number of discrete variables: 4 (idealPump.mechanicalPumpLosses.startForward,idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.locked,idealPump.mechanicalPumpLosses.mode) * Number of discrete states: 3 (idealPump.mechanicalPumpLosses.mode,idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002726/0.1566, allocations: 482.3 kB / 0.5255 GB, free: 11.53 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.158, allocations: 0.6167 MB / 0.5261 GB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.158, allocations: 4 kB / 0.5261 GB, free: 10.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006738/0.1587, allocations: 407.5 kB / 0.5265 GB, free: 10.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007951/0.1595, allocations: 128.3 kB / 0.5266 GB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.1624, allocations: 1.352 MB / 0.5279 GB, free: 8.922 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.1628, allocations: 329.1 kB / 0.5282 GB, free: 8.574 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003811/0.1632, allocations: 76.38 kB / 0.5283 GB, free: 8.496 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.1634, allocations: 51.41 kB / 0.5284 GB, free: 8.445 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1634, allocations: 0 / 0.5284 GB, free: 8.445 MB / 394.7 MB Notification: Performance of Templates: time 0.02239/0.1858, allocations: 10.69 MB / 0.5388 GB, free: 13.88 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.773370185866952]