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.0009671/0.0009671, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.0009726/0.0009726, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.888/0.888, allocations: 177.2 MB / 203.4 MB, free: 5.641 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.03328/0.03328, allocations: 8.716 MB / 268.7 MB, free: 4.547 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.412e-06/1.412e-06, allocations: 0 / 340.8 MB, free: 9.133 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.976e-05, allocations: 6.25 kB / 340.8 MB, free: 9.125 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ReliefValveTest): time 0.004027/0.004047, allocations: 4.426 MB / 345.3 MB, free: 4.668 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003773/0.00782, allocations: 2.975 MB / 348.2 MB, free: 1.684 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003992/0.008219, allocations: 11.94 kB / 348.3 MB, free: 1.672 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005121/0.008731, allocations: 154.8 kB / 348.4 MB, free: 1.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007196/0.009451, allocations: 417.1 kB / 348.8 MB, free: 1.109 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.01052, allocations: 0.6073 MB / 349.4 MB, free: 0.5 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000963/0.01149, allocations: 1.163 MB / 350.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002721/0.01176, allocations: 197.1 kB / 350.8 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006085/0.01237, allocations: 0.612 MB / 351.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004372/0.01281, allocations: 391 kB / 351.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.632e-05/0.01289, allocations: 87.94 kB / 351.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004083/0.0133, allocations: 315.6 kB / 352.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.01345, allocations: 207.3 kB / 352.4 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000244/0.01369, allocations: 319.2 kB / 352.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008055/0.0145, allocations: 0.8528 MB / 353.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.0145, allocations: 0 / 353.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.0145, allocations: 4 kB / 353.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.01451, allocations: 0 / 353.5 MB, free: 12.37 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.001178/0.01569, allocations: 1.139 MB / 354.7 MB, free: 11.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.01572, allocations: 8.031 kB / 354.7 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/0.01593, allocations: 140.4 kB / 354.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.01639, allocations: 466.2 kB / 355.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.364e-05/0.01643, allocations: 45.69 kB / 355.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-05/0.0165, allocations: 64.08 kB / 355.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006621/0.01716, allocations: 0.5586 MB / 355.9 MB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.01718, allocations: 0 / 355.9 MB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.01722, allocations: 28 kB / 356 MB, free: 9.824 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.01723, allocations: 16 kB / 356 MB, free: 9.809 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/0.01769, allocations: 301.3 kB / 356.3 MB, free: 9.508 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.01979, allocations: 1.902 MB / 358.2 MB, free: 7.543 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/0.02027, allocations: 313.3 kB / 358.5 MB, free: 7.219 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.02044, allocations: 137.4 kB / 358.6 MB, free: 7.074 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.991e-05/0.0205, allocations: 23.98 kB / 358.6 MB, free: 7.051 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.02053, allocations: 41.38 kB / 358.7 MB, free: 7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 1.473e-06/0.02053, allocations: 0 / 358.7 MB, free: 7 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.001639/0.02217, allocations: 1.067 MB / 359.8 MB, free: 5.859 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.02221, allocations: 85.11 kB / 359.8 MB, free: 5.758 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/0.02255, allocations: 458.6 kB / 360.3 MB, free: 5.293 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.02258, allocations: 37.7 kB / 360.3 MB, free: 5.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.02275, allocations: 371.5 kB / 360.7 MB, free: 4.883 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.861e-05/0.02284, allocations: 154.8 kB / 360.8 MB, free: 4.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.02295, allocations: 103.8 kB / 360.9 MB, free: 4.621 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.02309, allocations: 0.5352 MB / 361.5 MB, free: 4.074 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.02328, allocations: 135.3 kB / 361.6 MB, free: 3.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.02351, allocations: 300 kB / 361.9 MB, free: 3.562 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/0.02398, allocations: 480.5 kB / 362.4 MB, free: 3.016 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.02399, allocations: 4 kB / 362.4 MB, free: 3.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005511/0.02454, allocations: 480 kB / 362.8 MB, free: 2.523 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.02456, allocations: 33.7 kB / 362.9 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.02457, allocations: 0 / 362.9 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001602/0.02473, allocations: 95.62 kB / 363 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.02498, allocations: 108.2 kB / 363.1 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.02611, allocations: 2.074 MB / 365.1 MB, free: 88 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.02628, allocations: 31.97 kB / 365.2 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.02632, allocations: 24.06 kB / 365.2 MB, free: 32 kB / 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: 14 * 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 (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.0002198/0.02654, allocations: 239.5 kB / 365.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-05/0.02661, allocations: 71.61 kB / 365.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005646/0.02718, allocations: 451.5 kB / 365.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.02718, allocations: 4 kB / 366 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.02718, allocations: 0 / 366 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.02719, allocations: 3.984 kB / 366 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.02828, allocations: 1.035 MB / 367 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.02828, allocations: 4.031 kB / 367 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.0285, allocations: 83.91 kB / 367.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001114/0.02861, allocations: 95.61 kB / 367.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.02864, allocations: 12 kB / 367.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009031/0.02954, allocations: 1.853 MB / 369 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.02954, allocations: 7.938 kB / 369 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000659/0.0302, allocations: 0.6786 MB / 369.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.03034, allocations: 99.55 kB / 369.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/0.03038, allocations: 24 kB / 369.8 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.03054, allocations: 27.97 kB / 369.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.0307, allocations: 111.7 kB / 370 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.381e-05/0.03073, allocations: 24.02 kB / 370 MB, free: 10.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000207/0.03093, allocations: 303 kB / 370.3 MB, free: 10.65 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.03093, allocations: 4 kB / 370.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004193/0.03135, allocations: 195.7 kB / 370.5 MB, free: 10.45 MB / 346.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.0007806/0.03213, allocations: 436 kB / 370.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006182/0.03275, allocations: 0.5616 MB / 371.5 MB, free: 9.531 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.03275, allocations: 3.938 kB / 371.5 MB, free: 9.527 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.03304, allocations: 403.3 kB / 371.9 MB, free: 9.094 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.03346, allocations: 154.8 kB / 372 MB, free: 8.941 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.03506, allocations: 1.189 MB / 373.2 MB, free: 7.699 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.03516, allocations: 162.5 kB / 373.4 MB, free: 7.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.03533, allocations: 76.41 kB / 373.4 MB, free: 7.441 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.933e-05/0.03543, allocations: 48.48 kB / 373.5 MB, free: 7.395 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.03544, allocations: 0 / 373.5 MB, free: 7.395 MB / 346.7 MB Notification: Performance of Templates: time 0.01256/0.04799, allocations: 10.66 MB / 384.2 MB, free: 12.86 MB / 362.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.8155654100701213]