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.001759/0.001759, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001959/0.001959, allocations: 169.9 kB / 22.45 MB, free: 2.105 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 1.625/1.625, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.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.0625/0.0625, allocations: 8.694 MB / 267.9 MB, free: 4.762 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: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 395.4 MB, free: 0.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.8e-05, allocations: 2.281 kB / 395.4 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ReliefValveTest): time 0.009494/0.009522, allocations: 4.036 MB / 399.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009181/0.0187, allocations: 2.831 MB / 402.3 MB, free: 9.844 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004866/0.01919, allocations: 15.88 kB / 402.3 MB, free: 9.828 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008472/0.02004, allocations: 154.8 kB / 402.5 MB, free: 9.676 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001691/0.02173, allocations: 409.2 kB / 402.9 MB, free: 9.273 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.02429, allocations: 0.6108 MB / 403.5 MB, free: 8.664 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002603/0.02689, allocations: 1.175 MB / 404.7 MB, free: 7.484 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000613/0.02751, allocations: 193.2 kB / 404.8 MB, free: 7.289 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.02892, allocations: 0.6002 MB / 405.4 MB, free: 6.688 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.02997, allocations: 371 kB / 405.8 MB, free: 6.324 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002241/0.0302, allocations: 88 kB / 405.9 MB, free: 6.238 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.03124, allocations: 307.7 kB / 406.2 MB, free: 5.938 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003801/0.03162, allocations: 211.3 kB / 406.4 MB, free: 5.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000671/0.03229, allocations: 323.2 kB / 406.7 MB, free: 5.414 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002747/0.03503, allocations: 1.262 MB / 408 MB, free: 4.148 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.03504, allocations: 4 kB / 408 MB, free: 4.145 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.03505, allocations: 0 / 408 MB, free: 4.145 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.03506, allocations: 0 / 408 MB, free: 4.145 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.003197/0.03826, allocations: 1.028 MB / 409 MB, free: 3.074 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.0383, allocations: 8.031 kB / 409 MB, free: 3.066 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003486/0.03865, allocations: 88.42 kB / 409.1 MB, free: 2.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.04004, allocations: 463.3 kB / 409.6 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-05/0.04013, allocations: 45.69 kB / 409.6 MB, free: 2.457 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.04031, allocations: 68.08 kB / 409.7 MB, free: 2.391 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.04259, allocations: 0.7411 MB / 410.4 MB, free: 1.621 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/0.04263, allocations: 4 kB / 410.4 MB, free: 1.617 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.04273, allocations: 20 kB / 410.4 MB, free: 1.598 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/0.04276, allocations: 12 kB / 410.4 MB, free: 1.586 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.04485, allocations: 0.5807 MB / 411 MB, free: 1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1479/0.1928, allocations: 1.869 MB / 412.9 MB, free: 28.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008881/0.1937, allocations: 439.6 kB / 413.3 MB, free: 27.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.194, allocations: 213.4 kB / 413.5 MB, free: 27.85 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.621e-05/0.1941, allocations: 14.7 kB / 413.5 MB, free: 27.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.1941, allocations: 38.83 kB / 413.6 MB, free: 27.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.374e-06/0.1941, allocations: 0 / 413.6 MB, free: 27.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.003126/0.1972, allocations: 1.376 MB / 415 MB, free: 27.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.1973, allocations: 81.67 kB / 415 MB, free: 26.97 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/0.1978, allocations: 465.2 kB / 415.5 MB, free: 26.76 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.1978, allocations: 39.7 kB / 415.5 MB, free: 26.72 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.198, allocations: 324.3 kB / 415.9 MB, free: 26.49 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.211e-05/0.1981, allocations: 152.6 kB / 416 MB, free: 26.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.1983, allocations: 97.48 kB / 416.1 MB, free: 26.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.056e-05/0.1984, allocations: 361.4 kB / 416.4 MB, free: 26 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003545/0.1987, allocations: 217.9 kB / 416.7 MB, free: 25.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.1991, allocations: 325.8 kB / 417 MB, free: 25.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002866/0.202, allocations: 1.086 MB / 418.1 MB, free: 25.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.202, allocations: 1.156 kB / 418.1 MB, free: 25.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009951/0.203, allocations: 0.6048 MB / 418.7 MB, free: 24.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.203, allocations: 35.12 kB / 418.7 MB, free: 24.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.203, allocations: 2.312 kB / 418.7 MB, free: 24.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002217/0.2032, allocations: 127.9 kB / 418.8 MB, free: 24.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/0.2036, allocations: 103.8 kB / 418.9 MB, free: 24.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.2052, allocations: 1.652 MB / 420.6 MB, free: 23.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.2056, allocations: 48.52 kB / 420.6 MB, free: 23.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.712e-05/0.2056, allocations: 20.72 kB / 420.7 MB, free: 23.2 MB / 330.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.000378/0.206, allocations: 288.8 kB / 420.9 MB, free: 22.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.131e-05/0.2061, allocations: 50.89 kB / 421 MB, free: 22.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.2071, allocations: 0.5643 MB / 421.5 MB, free: 22.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2071, allocations: 5.469 kB / 421.6 MB, free: 22.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.2071, allocations: 4 kB / 421.6 MB, free: 22.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.2071, allocations: 3.328 kB / 421.6 MB, free: 22.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.209, allocations: 1.121 MB / 422.7 MB, free: 21.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.209, allocations: 1.125 kB / 422.7 MB, free: 21.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.2095, allocations: 85.41 kB / 422.8 MB, free: 21.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001792/0.2096, allocations: 106.9 kB / 422.9 MB, free: 21.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/0.2097, allocations: 20.92 kB / 422.9 MB, free: 21.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.2109, allocations: 1.472 MB / 424.4 MB, free: 20.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2109, allocations: 1.344 kB / 424.4 MB, free: 20.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.212, allocations: 0.8709 MB / 425.2 MB, free: 20 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.2122, allocations: 100.5 kB / 425.3 MB, free: 19.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.418e-05/0.2123, allocations: 19.02 kB / 425.4 MB, free: 19.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.2127, allocations: 47.78 kB / 425.4 MB, free: 19.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/0.213, allocations: 125.5 kB / 425.5 MB, free: 19.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.979e-05/0.213, allocations: 16.58 kB / 425.5 MB, free: 19.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003625/0.2134, allocations: 325.6 kB / 425.9 MB, free: 19.74 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2134, allocations: 1.094 kB / 425.9 MB, free: 19.74 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007395/0.2141, allocations: 197.3 kB / 426 MB, free: 19.72 MB / 330.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.002615/0.2167, allocations: 485.3 kB / 426.5 MB, free: 19.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.2178, allocations: 0.6312 MB / 427.2 MB, free: 19.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2178, allocations: 0 / 427.2 MB, free: 19.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004877/0.2183, allocations: 403 kB / 427.5 MB, free: 18.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006683/0.2189, allocations: 135.9 kB / 427.7 MB, free: 18.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.2208, allocations: 1.235 MB / 428.9 MB, free: 18.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.2211, allocations: 331.9 kB / 429.2 MB, free: 17.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003003/0.2214, allocations: 69.91 kB / 429.3 MB, free: 17.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.2216, allocations: 54.77 kB / 429.4 MB, free: 17.91 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2216, allocations: 0 / 429.4 MB, free: 17.91 MB / 330.7 MB Notification: Performance of Templates: time 0.01551/0.2371, allocations: 9.766 MB / 439.1 MB, free: 13.42 MB / 330.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.283868076046929]