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.0008278/0.0008278, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.000952/0.000952, allocations: 177 kB / 23.36 MB, free: 1.137 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.9962/0.9962, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.04809/0.04809, allocations: 8.724 MB / 269 MB, free: 4.418 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.563e-06/1.563e-06, allocations: 0 / 288.1 MB, free: 1.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.057e-05, allocations: 2.312 kB / 288.1 MB, free: 1.316 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ReliefValveTest): time 0.1078/0.1079, allocations: 4.411 MB / 292.5 MB, free: 17.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003725/0.1116, allocations: 3.011 MB / 295.5 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003609/0.1119, allocations: 11.5 kB / 295.5 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004286/0.1124, allocations: 153.5 kB / 295.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007653/0.1131, allocations: 407.6 kB / 296.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.1143, allocations: 0.5819 MB / 296.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009621/0.1153, allocations: 1.161 MB / 297.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002956/0.1156, allocations: 206.4 kB / 298 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000726/0.1163, allocations: 0.6063 MB / 298.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005346/0.1168, allocations: 397.2 kB / 299 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.1169, allocations: 86.47 kB / 299.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005358/0.1175, allocations: 332.9 kB / 299.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.1176, allocations: 217.6 kB / 299.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002812/0.1179, allocations: 316.2 kB / 299.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009632/0.1189, allocations: 0.8542 MB / 300.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1189, allocations: 0.6875 kB / 300.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1189, allocations: 0 / 300.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.1189, allocations: 2.844 kB / 300.8 MB, free: 13.44 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.00115/0.12, allocations: 1.001 MB / 301.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.1201, allocations: 8.875 kB / 301.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.1203, allocations: 111.2 kB / 301.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.1207, allocations: 346.7 kB / 302.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/0.1207, allocations: 42.06 kB / 302.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.296e-05/0.1208, allocations: 66.14 kB / 302.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.1213, allocations: 0.5269 MB / 302.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.1213, allocations: 1.812 kB / 302.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.1213, allocations: 20.38 kB / 302.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.1213, allocations: 16.16 kB / 302.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.1216, allocations: 232.2 kB / 303.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.1233, allocations: 1.372 MB / 304.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/0.1237, allocations: 252.6 kB / 304.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.1238, allocations: 102.3 kB / 304.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.127e-05/0.1238, allocations: 20.31 kB / 304.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.1238, allocations: 41.25 kB / 304.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.543e-06/0.1239, allocations: 0 / 304.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001249/0.1251, allocations: 0.841 MB / 305.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.676e-05/0.1251, allocations: 82.23 kB / 305.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.1254, allocations: 395.4 kB / 306.2 MB, free: 9.926 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.1254, allocations: 41.41 kB / 306.3 MB, free: 9.883 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.1255, allocations: 274.7 kB / 306.5 MB, free: 9.645 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.029e-05/0.1255, allocations: 162.6 kB / 306.7 MB, free: 9.504 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-05/0.1256, allocations: 94.72 kB / 306.8 MB, free: 9.438 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.1257, allocations: 369.4 kB / 307.2 MB, free: 9.078 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.1258, allocations: 105 kB / 307.3 MB, free: 9.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.1259, allocations: 226.5 kB / 307.5 MB, free: 8.805 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.1262, allocations: 401.2 kB / 307.9 MB, free: 8.504 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1262, allocations: 5.938 kB / 307.9 MB, free: 8.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000331/0.1266, allocations: 356.5 kB / 308.2 MB, free: 8.305 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.1266, allocations: 32.23 kB / 308.3 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1266, allocations: 4.109 kB / 308.3 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/0.1267, allocations: 98.16 kB / 308.4 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.127, allocations: 119.8 kB / 308.5 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006444/0.1277, allocations: 1.394 MB / 309.9 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.1278, allocations: 35.97 kB / 309.9 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.1278, allocations: 12 kB / 309.9 MB, free: 6.559 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.0001646/0.128, allocations: 195.2 kB / 310.1 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.1281, allocations: 47.95 kB / 310.1 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/0.1284, allocations: 359.9 kB / 310.5 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1284, allocations: 4 kB / 310.5 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.1284, allocations: 0 / 310.5 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1284, allocations: 4 kB / 310.5 MB, free: 5.938 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007196/0.1292, allocations: 0.6858 MB / 311.2 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1292, allocations: 0 / 311.2 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.1294, allocations: 98.31 kB / 311.3 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.731e-05/0.1295, allocations: 84.52 kB / 311.4 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.1295, allocations: 8 kB / 311.4 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000486/0.13, allocations: 1.256 MB / 312.6 MB, free: 3.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.13, allocations: 3.938 kB / 312.6 MB, free: 3.676 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.1304, allocations: 0.5063 MB / 313.1 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1305, allocations: 63.64 kB / 313.2 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/0.1306, allocations: 20.03 kB / 313.2 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.1307, allocations: 27.97 kB / 313.3 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.1309, allocations: 111.7 kB / 313.4 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.1309, allocations: 15.98 kB / 313.4 MB, free: 2.883 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001123/0.131, allocations: 167.5 kB / 313.5 MB, free: 2.719 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.131, allocations: 0 / 313.5 MB, free: 2.719 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004268/0.1314, allocations: 203.7 kB / 313.7 MB, free: 2.52 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.00106/0.1325, allocations: 0.5435 MB / 314.3 MB, free: 2.238 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003961/0.1329, allocations: 457 kB / 314.7 MB, free: 1.758 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.1329, allocations: 4 kB / 314.7 MB, free: 1.754 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.1331, allocations: 317.4 kB / 315 MB, free: 1.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.1334, allocations: 144.3 kB / 315.2 MB, free: 1.277 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.1348, allocations: 1.157 MB / 316.3 MB, free: 72 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.1349, allocations: 154.7 kB / 316.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.1351, allocations: 76.8 kB / 316.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/0.1354, allocations: 185.2 kB / 316.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1354, allocations: 0 / 316.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of Templates: time 0.01328/0.1487, allocations: 11.01 MB / 327.8 MB, free: 4.82 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8986482177861035]