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.00125/0.00125, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001373/0.001373, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9285/0.9285, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.03583/0.03583, allocations: 8.706 MB / 269 MB, free: 4.602 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.433e-06/1.433e-06, allocations: 0 / 340.9 MB, free: 8.379 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.347e-05, allocations: 2.312 kB / 340.9 MB, free: 8.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ReliefValveTest): time 0.003812/0.003835, allocations: 4.399 MB / 345.3 MB, free: 3.945 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003102/0.006937, allocations: 2.96 MB / 348.2 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003358/0.007273, allocations: 15.88 kB / 348.2 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004208/0.007693, allocations: 154.8 kB / 348.4 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006144/0.008308, allocations: 409.2 kB / 348.8 MB, free: 416 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009419/0.00925, allocations: 0.6151 MB / 349.4 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008994/0.01015, allocations: 1.167 MB / 350.6 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.01044, allocations: 197.1 kB / 350.8 MB, free: 14.42 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006081/0.01105, allocations: 0.608 MB / 351.4 MB, free: 13.81 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004103/0.01146, allocations: 395 kB / 351.8 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.938e-05/0.01154, allocations: 84 kB / 351.8 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004041/0.01194, allocations: 319.6 kB / 352.2 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.01208, allocations: 211.3 kB / 352.4 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002348/0.01232, allocations: 319.2 kB / 352.7 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008619/0.01318, allocations: 0.8528 MB / 353.5 MB, free: 11.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.01319, allocations: 3.938 kB / 353.5 MB, free: 11.65 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01319, allocations: 0 / 353.5 MB, free: 11.65 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.0132, allocations: 4 kB / 353.5 MB, free: 11.65 MB / 282.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.001245/0.01444, allocations: 1.128 MB / 354.7 MB, free: 10.47 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.01448, allocations: 16.02 kB / 354.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/0.01471, allocations: 132.4 kB / 354.8 MB, free: 10.33 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005102/0.01522, allocations: 470.1 kB / 355.3 MB, free: 9.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/0.01525, allocations: 45.69 kB / 355.3 MB, free: 9.797 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-05/0.01532, allocations: 64.08 kB / 355.4 MB, free: 9.734 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000716/0.01604, allocations: 0.5548 MB / 355.9 MB, free: 9.145 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.01606, allocations: 3.984 kB / 355.9 MB, free: 9.141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.0161, allocations: 27.94 kB / 356 MB, free: 9.113 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.01612, allocations: 12 kB / 356 MB, free: 9.102 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004844/0.0166, allocations: 297.4 kB / 356.3 MB, free: 8.805 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.01887, allocations: 1.91 MB / 358.2 MB, free: 6.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005403/0.01941, allocations: 314.5 kB / 358.5 MB, free: 6.504 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.0196, allocations: 140.1 kB / 358.6 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.681e-05/0.01966, allocations: 19.92 kB / 358.6 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.01969, allocations: 41.39 kB / 358.7 MB, free: 6.289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 1.823e-06/0.01969, allocations: 0 / 358.7 MB, free: 6.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.001843/0.02154, allocations: 1.067 MB / 359.7 MB, free: 5.148 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.02157, allocations: 81.11 kB / 359.8 MB, free: 5.051 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/0.02193, allocations: 458.6 kB / 360.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.02197, allocations: 37.7 kB / 360.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.02215, allocations: 371.5 kB / 360.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.314e-05/0.02225, allocations: 150.8 kB / 360.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.02236, allocations: 99.78 kB / 360.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.02251, allocations: 0.5352 MB / 361.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.02271, allocations: 139.2 kB / 361.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.02295, allocations: 292.3 kB / 361.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/0.02344, allocations: 468.8 kB / 362.3 MB, free: 2.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.02345, allocations: 0 / 362.3 MB, free: 2.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005783/0.02402, allocations: 472.4 kB / 362.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.02406, allocations: 37.75 kB / 362.8 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.02407, allocations: 4 kB / 362.8 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001894/0.02426, allocations: 95.62 kB / 362.9 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.02453, allocations: 95.89 kB / 363 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.02579, allocations: 2.082 MB / 365.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.02599, allocations: 31.97 kB / 365.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.02602, allocations: 16 kB / 365.1 MB, free: 15.37 MB / 298.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.0002678/0.02629, allocations: 236.6 kB / 365.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.0264, allocations: 67.67 kB / 365.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006554/0.02705, allocations: 451.4 kB / 365.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.02706, allocations: 4 kB / 365.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.02706, allocations: 4 kB / 365.9 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.02707, allocations: 3.984 kB / 365.9 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.0283, allocations: 1.031 MB / 366.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.02831, allocations: 0 / 366.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.02855, allocations: 87.89 kB / 367 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001291/0.02868, allocations: 95.61 kB / 367.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.02871, allocations: 20.08 kB / 367.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009679/0.02967, allocations: 1.841 MB / 369 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.02968, allocations: 4 kB / 369 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007238/0.0304, allocations: 0.6902 MB / 369.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.03055, allocations: 103.6 kB / 369.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/0.03061, allocations: 23.95 kB / 369.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.03077, allocations: 27.97 kB / 369.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.03095, allocations: 111.8 kB / 369.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.03097, allocations: 12 kB / 369.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000219/0.03119, allocations: 307 kB / 370.2 MB, free: 9.988 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03119, allocations: 0 / 370.2 MB, free: 9.988 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005136/0.0317, allocations: 199.8 kB / 370.4 MB, free: 9.793 MB / 298.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.0009084/0.03261, allocations: 437.6 kB / 370.9 MB, free: 9.477 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006821/0.03329, allocations: 0.5582 MB / 371.4 MB, free: 8.875 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.03329, allocations: 0 / 371.4 MB, free: 8.875 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003161/0.03361, allocations: 406.4 kB / 371.8 MB, free: 8.438 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.03407, allocations: 146.1 kB / 372 MB, free: 8.293 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.0359, allocations: 1.216 MB / 373.2 MB, free: 7.023 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.03601, allocations: 150.7 kB / 373.3 MB, free: 6.855 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002016/0.03621, allocations: 76.38 kB / 373.4 MB, free: 6.781 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.03632, allocations: 52.47 kB / 373.4 MB, free: 6.73 MB / 298.7 MB Notification: Performance of SimCode: time 1.303e-06/0.03632, allocations: 4 kB / 373.4 MB, free: 6.727 MB / 298.7 MB Notification: Performance of Templates: time 0.04572/0.08204, allocations: 9.862 MB / 383.3 MB, free: 13 MB / 314.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.9362475839443505]