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.0007392/0.0007392, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001158/0.001897, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007449/0.0007449, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001084/0.001829, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9879/0.9879, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09869/1.087, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo): time 0.04186/0.04186, allocations: 8.731 MB / 252.9 MB, free: 6.289 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005462/0.04733, allocations: 3.013 MB / 255.9 MB, free: 3.273 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-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.293e-06/1.293e-06, allocations: 0 / 257.2 MB, free: 1.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.052e-05, allocations: 2.312 kB / 257.2 MB, free: 1.961 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ReliefValveTest): time 0.005748/0.005769, allocations: 4.435 MB / 261.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004811/0.01058, allocations: 3.033 MB / 264.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004635/0.01104, allocations: 15.88 kB / 264.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004552/0.0115, allocations: 158.7 kB / 264.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.01262, allocations: 409.2 kB / 265.2 MB, free: 9.879 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.01383, allocations: 0.5838 MB / 265.8 MB, free: 9.293 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.01501, allocations: 1.163 MB / 267 MB, free: 8.125 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003399/0.01535, allocations: 211 kB / 267.2 MB, free: 7.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008776/0.01623, allocations: 0.6716 MB / 267.8 MB, free: 7.238 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005208/0.01675, allocations: 395 kB / 268.2 MB, free: 6.852 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.01686, allocations: 88 kB / 268.3 MB, free: 6.766 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006152/0.01748, allocations: 335.7 kB / 268.6 MB, free: 6.438 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.01765, allocations: 159.5 kB / 268.8 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.01793, allocations: 259.6 kB / 269.1 MB, free: 6.027 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.01897, allocations: 0.7826 MB / 269.8 MB, free: 5.242 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.639e-05/0.01898, allocations: 4 kB / 269.8 MB, free: 5.238 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.01899, allocations: 0 / 269.8 MB, free: 5.238 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.87e-05/0.01901, allocations: 0 / 269.8 MB, free: 5.238 MB / 266.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.001661/0.02067, allocations: 1.171 MB / 271 MB, free: 4.031 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.0207, allocations: 8.031 kB / 271 MB, free: 4.023 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002769/0.02098, allocations: 189.9 kB / 271.2 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005715/0.02155, allocations: 351.4 kB / 271.6 MB, free: 3.453 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/0.02159, allocations: 45.67 kB / 271.6 MB, free: 3.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.421e-05/0.02169, allocations: 68.12 kB / 271.7 MB, free: 3.344 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009761/0.02266, allocations: 0.5179 MB / 272.2 MB, free: 2.793 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.02268, allocations: 0 / 272.2 MB, free: 2.793 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.002e-05/0.02273, allocations: 24 kB / 272.2 MB, free: 2.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.02275, allocations: 16 kB / 272.2 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.02319, allocations: 230.8 kB / 272.4 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.02556, allocations: 1.374 MB / 273.8 MB, free: 1.098 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.0259, allocations: 253.4 kB / 274.1 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.02601, allocations: 110.1 kB / 274.2 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.537e-05/0.02606, allocations: 15.98 kB / 274.2 MB, free: 0.707 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.02609, allocations: 42.5 kB / 274.2 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.654e-06/0.02609, allocations: 0 / 274.2 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.119/0.1451, allocations: 0.9381 MB / 275.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.74e-05/0.1452, allocations: 58.97 kB / 275.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.1455, allocations: 389.7 kB / 275.6 MB, free: 11.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.1455, allocations: 42.23 kB / 275.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.1456, allocations: 277.7 kB / 275.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.427e-05/0.1457, allocations: 164.6 kB / 276.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.1458, allocations: 96.31 kB / 276.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.056e-05/0.1459, allocations: 361.6 kB / 276.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.1461, allocations: 109.5 kB / 276.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.1462, allocations: 225 kB / 276.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.1466, allocations: 408 kB / 277.3 MB, free: 10.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1466, allocations: 1.625 kB / 277.3 MB, free: 10.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0003914/0.147, allocations: 351.4 kB / 277.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.147, allocations: 38.22 kB / 277.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.147, allocations: 4.375 kB / 277.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001489/0.1471, allocations: 91.11 kB / 277.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.1475, allocations: 128 kB / 277.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007345/0.1483, allocations: 1.393 MB / 279.2 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.1485, allocations: 38.64 kB / 279.3 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.1485, allocations: 16.88 kB / 279.3 MB, free: 8.762 MB / 266.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: 14 * Number of states: 0 () * Number of discrete variables: 9 (idealPump.mechanicalPumpLosses.mode,$PRE.idealPump.mechanicalPumpLosses.mode,idealPump.mechanicalPumpLosses.locked,idealPump.mechanicalPumpLosses.startBackward,$PRE.idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.startForward,$PRE.idealPump.mechanicalPumpLosses.startForward,idealPump.mechanicalPumpLosses.free,reliefValve.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): 56 * 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.0002205/0.1487, allocations: 187.3 kB / 279.5 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.1488, allocations: 46.62 kB / 279.5 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004695/0.1493, allocations: 363.6 kB / 279.9 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1493, allocations: 4.688 kB / 279.9 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1493, allocations: 2.625 kB / 279.9 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.1493, allocations: 2.297 kB / 279.9 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009234/0.1502, allocations: 0.6855 MB / 280.6 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.1502, allocations: 3.797 kB / 280.6 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.1505, allocations: 108.7 kB / 280.7 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1506, allocations: 60.42 kB / 280.7 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.1507, allocations: 85.12 kB / 280.8 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.1507, allocations: 14.5 kB / 280.8 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005786/0.1513, allocations: 1.254 MB / 282.1 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1513, allocations: 3.562 kB / 282.1 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000473/0.1518, allocations: 0.5081 MB / 282.6 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.1519, allocations: 22.19 kB / 282.6 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.152, allocations: 24.39 kB / 282.7 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.1522, allocations: 119.9 kB / 282.8 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.1522, allocations: 12.72 kB / 282.8 MB, free: 6.758 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001773/0.1524, allocations: 169.5 kB / 283 MB, free: 6.734 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1524, allocations: 1.156 kB / 283 MB, free: 6.734 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004901/0.1529, allocations: 199.2 kB / 283.1 MB, free: 6.734 MB / 266.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.001172/0.154, allocations: 0.5868 MB / 283.7 MB, free: 6.629 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004858/0.1545, allocations: 460.4 kB / 284.2 MB, free: 6.371 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.725e-05/0.1545, allocations: 7.844 kB / 284.2 MB, free: 6.371 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.1548, allocations: 356.7 kB / 284.5 MB, free: 6.156 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005855/0.1554, allocations: 1.289 MB / 285.8 MB, free: 4.848 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008733/0.1641, allocations: 1.199 MB / 287 MB, free: 4.227 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.1642, allocations: 157.3 kB / 287.2 MB, free: 4.148 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002424/0.1645, allocations: 72.95 kB / 287.3 MB, free: 4.129 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.1648, allocations: 186.9 kB / 287.4 MB, free: 4.074 MB / 266.7 MB Notification: Performance of SimCode: time 1.203e-06/0.1648, allocations: 0 / 287.4 MB, free: 4.074 MB / 266.7 MB Notification: Performance of Templates: time 0.01429/0.1791, allocations: 11.6 MB / 299 MB, free: 14.69 MB / 282.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: 2.9138045674189925]