Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.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.0009827/0.0009827, allocations: 92.22 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.001182/0.001182, allocations: 169 kB / 23.02 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.8878/0.8878, allocations: 177.2 MB / 203.4 MB, free: 5.629 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.03289/0.03289, allocations: 8.709 MB / 268.7 MB, free: 4.535 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.DirectionalValveTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest") translateModel(OpenHydraulics.DevelopmentTests.DirectionalValveTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 340.9 MB, free: 9.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.59e-05, allocations: 2.312 kB / 340.9 MB, free: 9.121 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTest): time 0.005007/0.005023, allocations: 6.072 MB / 346.9 MB, free: 3.016 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003975/0.008998, allocations: 3.591 MB / 350.5 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004623/0.009461, allocations: 23.81 kB / 350.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005522/0.01001, allocations: 297.8 kB / 350.8 MB, free: 15.1 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.0111, allocations: 0.7025 MB / 351.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.01247, allocations: 0.9193 MB / 352.5 MB, free: 13.47 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001573/0.01404, allocations: 1.984 MB / 354.4 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003968/0.01444, allocations: 308.5 kB / 354.7 MB, free: 11.15 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.01548, allocations: 0.9782 MB / 355.7 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007992/0.01628, allocations: 0.6545 MB / 356.4 MB, free: 9.516 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.01644, allocations: 124 kB / 356.5 MB, free: 9.395 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005911/0.01704, allocations: 407.6 kB / 356.9 MB, free: 8.996 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.01727, allocations: 366.6 kB / 357.2 MB, free: 8.637 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004253/0.01769, allocations: 0.4987 MB / 357.7 MB, free: 8.137 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.01892, allocations: 1.37 MB / 359.1 MB, free: 6.762 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.01893, allocations: 3.984 kB / 359.1 MB, free: 6.758 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01893, allocations: 0 / 359.1 MB, free: 6.758 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.01894, allocations: 0 / 359.1 MB, free: 6.758 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.001732/0.02067, allocations: 1.716 MB / 360.8 MB, free: 4.996 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.02071, allocations: 8.031 kB / 360.8 MB, free: 4.988 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003385/0.02105, allocations: 251.9 kB / 361.1 MB, free: 4.742 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007487/0.02179, allocations: 0.8043 MB / 361.9 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.877e-05/0.02185, allocations: 78.38 kB / 362 MB, free: 3.836 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-05/0.02195, allocations: 96.12 kB / 362.1 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009702/0.02292, allocations: 0.7898 MB / 362.9 MB, free: 2.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.02294, allocations: 0 / 362.9 MB, free: 2.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.95e-05/0.023, allocations: 43.98 kB / 362.9 MB, free: 2.887 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.02302, allocations: 24 kB / 362.9 MB, free: 2.863 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007591/0.02377, allocations: 463.7 kB / 363.4 MB, free: 2.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002919/0.02669, allocations: 2.707 MB / 366.1 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005548/0.02725, allocations: 412.2 kB / 366.5 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.02755, allocations: 201.5 kB / 366.7 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.7e-05/0.02765, allocations: 40.62 kB / 366.7 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.02767, allocations: 42.05 kB / 366.8 MB, free: 14.94 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 1.923e-06/0.02767, allocations: 0 / 366.8 MB, free: 14.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=76): time 0.002122/0.02979, allocations: 1.49 MB / 368.3 MB, free: 13.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.02982, allocations: 56.06 kB / 368.3 MB, free: 13.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006815/0.0305, allocations: 0.8428 MB / 369.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.03054, allocations: 41.7 kB / 369.2 MB, free: 12.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.03085, allocations: 0.6201 MB / 369.8 MB, free: 11.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.031, allocations: 277.7 kB / 370.1 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.03116, allocations: 172.2 kB / 370.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.03129, allocations: 0.5082 MB / 370.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.03155, allocations: 187.5 kB / 370.9 MB, free: 10.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.03189, allocations: 462 kB / 371.4 MB, free: 10.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007845/0.03268, allocations: 0.7304 MB / 372.1 MB, free: 9.254 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.03268, allocations: 0 / 372.1 MB, free: 9.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0007992/0.03348, allocations: 0.7037 MB / 372.8 MB, free: 8.547 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.0335, allocations: 8 kB / 372.8 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.0335, allocations: 4 kB / 372.8 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.03352, allocations: 12 kB / 372.9 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004799/0.034, allocations: 228 kB / 373.1 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.03401, allocations: 11.94 kB / 373.1 MB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.03423, allocations: 35.92 kB / 373.1 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.03428, allocations: 43.97 kB / 373.2 MB, free: 8.211 MB / 346.7 MB Warning: Assuming fixed start value for the following 3 variables: idealPump.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of rotation of pump\" type: Real valve4_3pos.j2.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = valve4_3pos.P2A.p_init unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Pressure in the connection point\" type: Real [3] valve4_3pos.j3.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = valve4_3pos.P2B.p_init unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Pressure in the connection point\" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (valve4_3pos.A2T.data.zetaLaminarKnown,valve4_3pos.P2B.data.zetaLaminarKnown,valve4_3pos.B2T.data.zetaLaminarKnown,valve4_3pos.P2A.data.zetaLaminarKnown,restriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002542/0.03453, allocations: 243.3 kB / 373.4 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.03465, allocations: 127.3 kB / 373.5 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008178/0.03547, allocations: 0.6607 MB / 374.2 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.03548, allocations: 8 kB / 374.2 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.03548, allocations: 0 / 374.2 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.03549, allocations: 7.922 kB / 374.2 MB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.03733, allocations: 1.703 MB / 375.9 MB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.03733, allocations: 0 / 375.9 MB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000432/0.03777, allocations: 187.7 kB / 376.1 MB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.03777, allocations: 4.219 kB / 376.1 MB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.03781, allocations: 31.98 kB / 376.1 MB, free: 5.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.03782, allocations: 4 kB / 376.1 MB, free: 5.148 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.03782, allocations: 4 kB / 376.1 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.03884, allocations: 0.9623 MB / 377.1 MB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.03904, allocations: 175.2 kB / 377.3 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.689e-05/0.03912, allocations: 24 kB / 377.3 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.03931, allocations: 23.98 kB / 377.3 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.866e-05/0.0394, allocations: 60.55 kB / 377.4 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.03943, allocations: 35.98 kB / 377.4 MB, free: 3.816 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004395/0.03987, allocations: 0.5156 MB / 377.9 MB, free: 3.289 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03987, allocations: 3.938 kB / 377.9 MB, free: 3.285 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005729/0.04044, allocations: 311.6 kB / 378.2 MB, free: 2.98 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (idealPump.phi,circuitTank.volumeOpen.m,valve4_3pos.j2.volumeClosed.port[2].p,valve4_3pos.j3.volumeClosed.port[2].p,valve4_3pos.dynamicResponse.y,valve4_3pos.dynamicResponse.yd) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009085/0.04135, allocations: 463.7 kB / 378.7 MB, free: 2.645 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006321/0.04199, allocations: 496.1 kB / 379.2 MB, free: 2.156 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.04199, allocations: 0 / 379.2 MB, free: 2.156 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.04227, allocations: 269.1 kB / 379.4 MB, free: 1.887 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007564/0.04302, allocations: 293.6 kB / 379.7 MB, free: 1.605 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.04568, allocations: 2.044 MB / 381.8 MB, free: 15.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.04584, allocations: 256.8 kB / 382 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003923/0.04624, allocations: 195.1 kB / 382.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.04643, allocations: 104.5 kB / 382.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.04643, allocations: 0 / 382.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of Templates: time 0.02094/0.06737, allocations: 17.41 MB / 399.7 MB, free: 13.78 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0568734649568796]