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.001315/0.001315, 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.001569/0.001569, allocations: 165 kB / 23.02 MB, free: 1.555 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.9768/0.9768, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.03769/0.03769, allocations: 8.721 MB / 268.7 MB, free: 4.512 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.603e-06/1.603e-06, allocations: 0 / 340.9 MB, free: 8.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.301e-05, allocations: 6.25 kB / 340.9 MB, free: 8.047 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTest): time 0.004622/0.004645, allocations: 6.065 MB / 346.9 MB, free: 1.945 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005366/0.01001, allocations: 3.583 MB / 350.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000914/0.01093, allocations: 27.81 kB / 350.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005759/0.0115, allocations: 289.8 kB / 350.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.01272, allocations: 0.7143 MB / 351.5 MB, free: 13.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.01427, allocations: 0.9076 MB / 352.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001718/0.01599, allocations: 1.98 MB / 354.4 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000448/0.01643, allocations: 304.5 kB / 354.7 MB, free: 10.1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.0176, allocations: 0.9821 MB / 355.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.01862, allocations: 0.6506 MB / 356.4 MB, free: 8.465 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002455/0.01887, allocations: 128 kB / 356.5 MB, free: 8.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006831/0.01955, allocations: 403.6 kB / 356.9 MB, free: 7.945 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.01979, allocations: 366.6 kB / 357.2 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004457/0.02024, allocations: 0.5026 MB / 357.7 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.02172, allocations: 1.37 MB / 359.1 MB, free: 5.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.02173, allocations: 0 / 359.1 MB, free: 5.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.02173, allocations: 0 / 359.1 MB, free: 5.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.828e-05/0.02176, allocations: 0 / 359.1 MB, free: 5.707 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.001984/0.02374, allocations: 1.713 MB / 360.8 MB, free: 3.953 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.02378, allocations: 8.031 kB / 360.8 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004038/0.02418, allocations: 251.9 kB / 361.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008763/0.02506, allocations: 0.8043 MB / 361.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.709e-05/0.02512, allocations: 74.38 kB / 361.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.02522, allocations: 104.1 kB / 362 MB, free: 2.691 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.02626, allocations: 0.7898 MB / 362.8 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.02629, allocations: 4 kB / 362.8 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.193e-05/0.02635, allocations: 40 kB / 362.9 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.02636, allocations: 20 kB / 362.9 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.02737, allocations: 475.6 kB / 363.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003411/0.03078, allocations: 2.707 MB / 366.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006146/0.0314, allocations: 419.8 kB / 366.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.03172, allocations: 209.5 kB / 366.7 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.03184, allocations: 32.62 kB / 366.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.03187, allocations: 42.05 kB / 366.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.976e-06/0.03187, allocations: 0 / 366.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=76): time 0.002319/0.03419, allocations: 1.493 MB / 368.3 MB, free: 12.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.03423, allocations: 64.25 kB / 368.3 MB, free: 12.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007535/0.03498, allocations: 0.8348 MB / 369.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.03502, allocations: 41.7 kB / 369.2 MB, free: 11.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00032/0.03534, allocations: 0.6201 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.03549, allocations: 277.7 kB / 370.1 MB, free: 10.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004333/0.03592, allocations: 172.2 kB / 370.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.03604, allocations: 0.5121 MB / 370.8 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.03633, allocations: 183.5 kB / 370.9 MB, free: 9.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/0.0367, allocations: 464.5 kB / 371.4 MB, free: 9.023 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008397/0.03754, allocations: 0.7187 MB / 372.1 MB, free: 8.199 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.03754, allocations: 0 / 372.1 MB, free: 8.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0008717/0.03841, allocations: 0.7035 MB / 372.8 MB, free: 7.492 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.03843, allocations: 8 kB / 372.8 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.03844, allocations: 8 kB / 372.8 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.03846, allocations: 8 kB / 372.8 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005139/0.03898, allocations: 228.2 kB / 373.1 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.03899, allocations: 15.88 kB / 373.1 MB, free: 7.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.03923, allocations: 35.94 kB / 373.1 MB, free: 7.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-05/0.03928, allocations: 43.97 kB / 373.2 MB, free: 7.152 MB / 298.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.0002761/0.03956, allocations: 232.5 kB / 373.4 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.03969, allocations: 127.3 kB / 373.5 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008875/0.04058, allocations: 0.6684 MB / 374.2 MB, free: 6.117 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.04058, allocations: 8 kB / 374.2 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.04059, allocations: 0 / 374.2 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.04059, allocations: 7.922 kB / 374.2 MB, free: 6.102 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.04254, allocations: 1.692 MB / 375.9 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.04254, allocations: 4 kB / 375.9 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/0.04299, allocations: 187.9 kB / 376.1 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.043, allocations: 8 kB / 376.1 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.04304, allocations: 27.98 kB / 376.1 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.04305, allocations: 4 kB / 376.1 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.04305, allocations: 4 kB / 376.1 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.04414, allocations: 0.9623 MB / 377.1 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005025/0.04464, allocations: 183.2 kB / 377.3 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.333e-05/0.04472, allocations: 16 kB / 377.3 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.04491, allocations: 23.98 kB / 377.3 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.045, allocations: 68.42 kB / 377.4 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.04503, allocations: 27.98 kB / 377.4 MB, free: 2.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004702/0.0455, allocations: 0.5156 MB / 377.9 MB, free: 2.242 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0455, allocations: 0 / 377.9 MB, free: 2.242 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006399/0.04614, allocations: 311.7 kB / 378.2 MB, free: 1.938 MB / 298.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.001012/0.04715, allocations: 466.7 kB / 378.7 MB, free: 1.594 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006969/0.04785, allocations: 491.8 kB / 379.1 MB, free: 1.105 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.04785, allocations: 0 / 379.1 MB, free: 1.105 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.04816, allocations: 273.1 kB / 379.4 MB, free: 0.832 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007485/0.04891, allocations: 309.3 kB / 379.7 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.05169, allocations: 2.03 MB / 381.7 MB, free: 14.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.05189, allocations: 248.9 kB / 382 MB, free: 14.17 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004698/0.05236, allocations: 191.1 kB / 382.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.05258, allocations: 108.5 kB / 382.3 MB, free: 13.88 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.05258, allocations: 0 / 382.3 MB, free: 13.88 MB / 314.7 MB Notification: Performance of Templates: time 0.01984/0.07242, allocations: 16.02 MB / 398.3 MB, free: 14.12 MB / 330.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.4998059701174498]