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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.ReliefValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest") translateModel(OpenHydraulics.DevelopmentTests.ReliefValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05447/0.05447, allocations: 11.84 MB / 282.2 MB, free: 9.48 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006034/0.0006036, allocations: 16 kB / 342.9 MB, free: 22.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09173/0.09234, allocations: 50.22 MB / 393.1 MB, free: 4.238 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ReliefValveTest): time 0.005342/0.09774, allocations: 4.441 MB / 397.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004458/0.1022, allocations: 2.64 MB / 400.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007272/0.103, allocations: 11.94 kB / 400.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005558/0.1036, allocations: 135.1 kB / 400.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.1048, allocations: 446.6 kB / 400.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.1061, allocations: 395 kB / 401.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.1072, allocations: 0.7021 MB / 401.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004337/0.1077, allocations: 252.1 kB / 402.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004228/0.1081, allocations: 306.9 kB / 402.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004399/0.1085, allocations: 354.5 kB / 402.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.007e-05/0.1086, allocations: 32 kB / 402.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006028/0.1092, allocations: 227.8 kB / 403 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.1094, allocations: 143.5 kB / 403.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.1096, allocations: 173.3 kB / 403.3 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009831/0.1106, allocations: 0.8767 MB / 404.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1106, allocations: 7.938 kB / 404.2 MB, free: 9.105 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1106, allocations: 0 / 404.2 MB, free: 9.105 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1106, allocations: 0 / 404.2 MB, free: 9.105 MB / 302.1 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.001646/0.1123, allocations: 0.9563 MB / 405.1 MB, free: 8.094 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1123, allocations: 8.031 kB / 405.2 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.1125, allocations: 94.98 kB / 405.2 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007039/0.1132, allocations: 488.7 kB / 405.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.15e-05/0.1133, allocations: 45.31 kB / 405.8 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-05/0.1134, allocations: 63.98 kB / 405.8 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.1145, allocations: 0.6674 MB / 406.5 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.1145, allocations: 0 / 406.5 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.057e-05/0.1146, allocations: 31.95 kB / 406.5 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.1146, allocations: 12 kB / 406.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008966/0.1155, allocations: 0.5361 MB / 407.1 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004092/0.1196, allocations: 3.421 MB / 410.5 MB, free: 2.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.1207, allocations: 0.5273 MB / 411 MB, free: 1.766 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.1208, allocations: 93.08 kB / 411.1 MB, free: 1.656 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.1209, allocations: 42.5 kB / 411.2 MB, free: 1.605 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.195e-06/0.1209, allocations: 0 / 411.2 MB, free: 1.605 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003041/0.1239, allocations: 1.488 MB / 412.6 MB, free: 24 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.124, allocations: 81.11 kB / 412.7 MB, free: 15.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006676/0.1247, allocations: 0.5693 MB / 413.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.1247, allocations: 37.7 kB / 413.3 MB, free: 15.3 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.125, allocations: 304.7 kB / 413.6 MB, free: 15 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.1251, allocations: 145.9 kB / 413.8 MB, free: 14.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.1251, allocations: 19.94 kB / 413.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1253, allocations: 366.8 kB / 414.2 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.1256, allocations: 181.9 kB / 414.3 MB, free: 14.29 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.126, allocations: 273.9 kB / 414.6 MB, free: 13.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.1263, allocations: 199 kB / 414.8 MB, free: 13.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1263, allocations: 0 / 414.8 MB, free: 13.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009107/0.1272, allocations: 0.572 MB / 415.4 MB, free: 13.19 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.811e-05/0.1273, allocations: 33.69 kB / 415.4 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.1273, allocations: 12.33 kB / 415.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/0.1275, allocations: 96.83 kB / 415.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/0.128, allocations: 107.8 kB / 415.6 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.1298, allocations: 1.635 MB / 417.2 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004639/0.1303, allocations: 64.12 kB / 417.3 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.1303, allocations: 20 kB / 417.3 MB, free: 11.08 MB / 318.1 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.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real reliefValve.variableRestriction.port_a.p:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))))))))) start = idealPump.fluidPower2MechRot.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" 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,$PRE.idealPump.mechanicalPumpLosses.startForward,idealPump.mechanicalPumpLosses.startForward,$PRE.idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.startBackward,idealPump.mechanicalPumpLosses.locked,$PRE.idealPump.mechanicalPumpLosses.mode,idealPump.mechanicalPumpLosses.mode) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004358/0.1308, allocations: 314.8 kB / 417.6 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-05/0.1309, allocations: 63.23 kB / 417.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009916/0.1319, allocations: 0.5433 MB / 418.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.1319, allocations: 8 kB / 418.2 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.1319, allocations: 0 / 418.2 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1319, allocations: 3.984 kB / 418.2 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.1338, allocations: 1.276 MB / 419.5 MB, free: 8.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.1338, allocations: 4.094 kB / 419.5 MB, free: 8.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004008/0.1342, allocations: 87.89 kB / 419.6 MB, free: 8.688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001474/0.1343, allocations: 80.81 kB / 419.7 MB, free: 8.605 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.1344, allocations: 19.98 kB / 419.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.1358, allocations: 1.507 MB / 421.2 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1358, allocations: 8.016 kB / 421.2 MB, free: 6.941 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.137, allocations: 0.8575 MB / 422.1 MB, free: 6.031 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.1373, allocations: 196.3 kB / 422.3 MB, free: 5.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.203e-05/0.1374, allocations: 16 kB / 422.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.1378, allocations: 55.95 kB / 422.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002403/0.1381, allocations: 139.7 kB / 422.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.1381, allocations: 11.98 kB / 422.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004657/0.1386, allocations: 418.8 kB / 422.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1386, allocations: 0 / 422.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006639/0.1393, allocations: 188 kB / 423.1 MB, free: 5.012 MB / 318.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009066/0.1402, allocations: 445.8 kB / 423.5 MB, free: 4.672 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009441/0.1411, allocations: 0.5783 MB / 424.1 MB, free: 4.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1411, allocations: 0 / 424.1 MB, free: 4.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004866/0.1416, allocations: 397.8 kB / 424.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007186/0.1424, allocations: 182.9 kB / 424.7 MB, free: 3.477 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.1444, allocations: 1.564 MB / 426.2 MB, free: 1.871 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.1449, allocations: 0.9416 MB / 427.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003114/0.1452, allocations: 97 kB / 427.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.1454, allocations: 51.42 kB / 427.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1454, allocations: 4 kB / 427.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of Templates: time 0.156/0.3014, allocations: 10.85 MB / 438.2 MB, free: 36.52 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.makefile Environment - environmentSimulation: (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=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ReliefValveTest.pipe 2>&1) Environment - environmentSimulation: